ByteScout Spreadsheet SDK - C# - Export To PDF - ByteScout

ByteScout Spreadsheet SDK – C# – Export To PDF

  • Home
  • /
  • Articles
  • /
  • ByteScout Spreadsheet SDK – C# – Export To PDF

How to export to PDF in C# and ByteScout Spreadsheet SDK

The tutorial shows how to export to PDF in C#

On this page you will learn from code samples for programming in C#.Writing of the code to export to PDF in C# can be done by developers of any level using ByteScout Spreadsheet SDK. ByteScout Spreadsheet SDK: the SDK to create, read, modify and calculate spreadsheets. Formula calculations are supported, import and export to and from JSON, CSV, XML, databases, arrays. It can export to PDF in C#.

This code snippet below for ByteScout Spreadsheet SDK works best when you need to quickly export to PDF in your C# application. Follow the instructions from the scratch to work and copy the C# code. Implementing C# application typically includes multiple stages of the software development so even if the functionality works please test it with your data and the production environment.

ByteScout Spreadsheet SDK free trial version is available on our website. C# and other programming languages are supported.

Try ByteScout Spreadsheet SDK today: Get 60 Day Free Trial or sign up for Web API

Program.cs
      
using Bytescout.Spreadsheet; using System.IO; namespace XLS2PDF { class Program { static void Main(string[] args) { Spreadsheet document = new Spreadsheet(); // load table from existing XLS file document.LoadFromFile("SimpleReport.xls"); // add image document.Workbook.Worksheets[0].Pictures.Add(5, 1, "image.jpg"); // save as PDF bool autosize = false; document.SaveAsPDF("Output.pdf", autosize); // close the document document.Close(); } } }

Try ByteScout Spreadsheet SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout Spreadsheet SDK page

Explore ByteScout Spreadsheet SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next