ByteScout Barcode Suite - C# - Export to pdf with spreadsheet sdk - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout Barcode Suite – C# – Export to pdf with spreadsheet sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Suite – C# – Export to pdf with spreadsheet sdk

How to export to pdf with spreadsheet sdk in C# using ByteScout Barcode Suite

This code in C# shows how to export to pdf with spreadsheet sdk with this how to tutorial

Every ByteScout tool includes simple example C# source codes that you can get here or in the folder with installed ByteScout product. What is ByteScout Barcode Suite? It is the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK). It can help you to export to pdf with spreadsheet sdk in your C# application.

Want to quickly learn? This fast application programming interfaces of ByteScout Barcode Suite for C# plus the guidelines and the code below will help you quickly learn how to export to pdf with spreadsheet sdk. Just copy and paste the code into your C# application’s code and follow the instructions. This basic programming language sample code for C# will do the whole work for you to export to pdf with spreadsheet sdk.

You can download free trial version of ByteScout Barcode Suite from our website with this and other source code samples for C#.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

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(); } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode Suite Home Page

Explore ByteScout Barcode Suite Documentation

Explore Samples

Sign Up for ByteScout Barcode Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode Suite Home Page

Explore ByteScout Barcode Suite Documentation

Explore Samples

Sign Up for ByteScout Barcode Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next