Trusted by the world’s leading companies

Syncfusion Trusted Companies
Syncfusion Feedback

Overview

The Syncfusion .NET Excel Library provides an easy way to convert Excel files to PDF documents in C# or VB.NET using just a few lines of code. Preserve workbook layouts, charts, images, formatting, formulas, and page settings throughout the conversion process. Fast, reliable conversion with PDF/A-1B conformance is fully supported in hosting environments such as AWS, Google Cloud, and Microsoft Azure.

Execute Excel to PDF code example

This example code shows how to convert an Excel document to a PDF file using the Syncfusion .NET Excel library with just a few lines of C# code.

Key features of Excel-to-PDF conversion

Discover how the conversion features in the Syncfusion .NET Excel Library help you convert Excel files to high-quality PDF documents in C#. Preserve your workbook’s appearance, formatting, and print layout without requiring Microsoft Excel or Office interop. Convert Excel files to PDF programmatically using a simple C# API.

Net Excel To Pdf Layout Options image

Layout options

Layout options for Excel-to-PDF conversion provide flexible control over how the content is scaled in the output. Available layout options include automatic, CustomScaling, FitAllColumnsOnOnePage, FitAllRowsOnOnePage, FitSheetOnOnePage, and NoScaling.

Net Excel To Pdf Custom Paper Size image

Custom paper size

Custom paper size lets users specify the desired paper dimensions in inches for the output document. The default setting is empty, represented as {Width = 0.0, Height = 0.0}.

Net Excel To Pdf Conformance Level image

PDF conformance level

The PDF conformance level enables users to specify the PDF document’s compliance with standards, allowing options such as PDF/A-1b, PDF/A-2b, PDF/A-3b, or PDF/X-1a conformance.

Net Excel To Pdf Set Image Quality image

Set image quality

Set image quality determines whether high-quality images are exported to the PDF document. When enabled, images retain their quality during conversion.

Net Excel To Pdf Embed Fonts image

Embed fonts

Embedding the required fonts ensures that the content is rendered accurately, regardless of font availability on the user’s system.

Net Excel To Pdf Font Substitution image

Font substitution

Font substitution allows users to select alternative fonts from their devices or upload custom fonts to replace specified fonts in the Excel document during the conversion to PDF.

Net Excel To Pdf Tagged Pdf image

Tagged PDF

Tagged PDF enables the conversion of Excel to PDF in compliance with the PDF/UA standard. This ensures that the resulting PDF is accessible, allowing users who depend on assistive technology to read and navigate the document’s content effectively.

Explore Excel to PDF References

Discover valuable resources from our blog and knowledge base articles to enhance your efficiency in converting Excel documents to PDF.

Convert Excel to PDF in Just 5 Steps Using C

Blog

Convert Excel to PDF in just 5 steps using C#

How to convert Excel to PDF in Azure app service using C#, VB.NET

Knowledge base

How to convert Excel to PDF in Azure app service using C#, VB.NET

How to convert Excel to PDF in Azure functions using C#, VB.NET

Knowledge base

How to convert Excel to PDF in Azure functions using C#, VB.NET

How to convert worksheet to PDF in WinForms XIsIO

Knowledge base

How to convert worksheet to PDF in WinForms XIsIO

How to get the page count in Excel to PDF conversion using C#, VB.NET

Knowledge base

How to get the page count in Excel to PDF conversion using C#, VB.NET

How to change the orientation of PDF pages in Excel to PDF conversion using C#, VB.NET

Knowledge base

How to change the orientation of PDF pages in Excel to PDF conversion using C#, VB.NET

How to adjust the zoom ratio in Excel to PDF conversion using C#, VB.NET?

Knowledge base

How to adjust the zoom ratio in Excel to PDF conversion using C#, VB.NET

Syncfusion .NET Excel Library Resources

Explore these resources for comprehensive guides, knowledge base articles, insightful blogs, and ebooks.

Frequently Asked Questions

Yes. The Syncfusion Excel library preserves charts, shapes, images, and other visual elements during Excel to PDF conversion.

Yes. The Syncfusion Excel library provides default for missing fonts during Excel to PDF conversion. It also allows users to customize the fallback fonts.

The Syncfusion Excel library supports the conversion of Xls (Excel97to2003), Xlsx, Xltm, Xlsm, CSV, and TSV format documents to PDF.

You can set the IsConvertBlankPage property to false to avoid in Excel to PDF conversion.

Yes. Syncfusion’s .NET Excel Library lets you convert Excel files to PDF programmatically in C# without installing Microsoft Excel or relying on Office interop.

The Syncfusion Excel library supports both portrait and landscape orientation options when converting Excel documents to PDF.

The Syncfusion .NET Excel library only supports on Windows platforms. For the web, it can be accomplished by converting the Excel document to PDF format and then printing the resulting PDF document.

Yes. Syncfusion Excel library provides support for converting only a specified worksheet to a PDF.

Yes. The Syncfusion Excel library supports accessible and standards-compliant PDF generation by converting Excel documents to PDF/UA and PDF/A formats.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion® reduces customers’ development time.
Here are some of their experiences.

See Real Success Stories

Developers around the world trust Syncfusion’s Essential Studio to simplify complex projects and speed up delivery. With a vast library of UI controls, powerful SDKs, and reliable support, Essential Studio helps teams build enterprise-ready applications with confidence.

Read Our Customer Stories


Rated by users across the globe

Want to create, View, and edit Excel files in C# or VB.NET?

Start a free 30-day evaluation today!
DOWNLOAD FREE TRIAL

No credit card required.

Mobile Free Evaluation Section

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.

Scroll up icon