Some test text!

Convert Excel documents to PDF using C#
Convert Excel documents to PDF using C#

Sample code for using PDFTron SDK to convert Excel documents to PDF without any external dependencies or Microsoft Office or Excel licenses. Perform .xls to PDF conversion using C# on a Linux or Windows server to automate Excel-centric workflows. Combine the conversion functionality with our Viewer to display or annotate Excel .xls files on all major platforms, including Web, Android, iOS, Xamarin, UWP, and Windows. Learn more about our C# PDF Library and Office Document Conversion Library .






Sample Code

Convert Excel to PDF C# sample, get started with a free trial of PDFTron SDK by clicking the link below.



Convert to PDF

// Start with a PDFDoc (the conversion destination)
using (PDFDoc pdfdoc = new PDFDoc())
    // perform the conversion with no optional parameters
    pdftron.PDF.Convert.OfficeToPDF(pdfdoc, inputFilename, null);

    // save the result
    pdfdoc.Save(outputFilename, SDFDoc.SaveOptions.e_remove_unused);

Try our SDK for free today

PDFTron live tech update & run-through: Jan 20th at 11 am PT