Winnovative Software Logo Winnovative PDF Library for .NET – Next and Classic PDF Tools for .NET
HTML to PDF for .NET Core and Framework, Azure, Docker, Windows, Linux
 
Skip Navigation Links
 
Excel to PDF Converter Logo

Winnovative Next Excel to PDF Converter for .NET

The Excel to PDF Converter is a component of the Winnovative PDF Next Library for .NET that enables accurate conversion of complex Excel documents to PDF. You can enhance the generated PDF with headers, footers and stamps or apply security features.

The library targets .NET Standard 2.0 and can be used in .NET Core and .NET Framework applications that you can deploy on Windows and Linux platforms, including Azure App Service and Functions or Docker.

Winnovative Next Excel to PDF for .NET offers advanced capabilities for converting Excel documents into PDF format. You can convert only the first worksheet or all worksheets in a workbook. You can preserve the original Excel page settings or reflow the content using custom PDF page sizes, orientations and margins. You can keep the original column widths and row heights or automatically fit the content to the PDF pages. You can apply HTML headers, footers, stamps, security features and digital signatures to generated PDF document.

User Guide Logo User Guide
Online Demo Logo Online Demo
Library Components Logo All Components
Download Logo Download
Winnovative Next Excel to PDF for .NET
Features Icon

Main Features

  • Convert Excel XLSX documents from memory or from a file to PDF

  • Use the PDF page settings from the original Excel document

  • Use the page settings from the first or the active worksheet

  • Use custom PDF page settings to automatically reflow the content

  • Convert all worksheets or only the first worksheet

  • Display or hide the worksheet title

  • Keep the column widths and row heights from Excel

  • Add HTML headers, footers or stamps to the generated PDF

  • Control the PDF document display with PDF viewer preferences

  • Encrypt, set permissions and set passwords for the generated PDF documents

  • Add digital signatures to the generated PDF document

  • Asynchronous Excel to PDF methods that can be used with async and await

Compatibility Icon

Compatibility

  • Windows 10, 11 and Windows Server 2016 to 2025

  • Linux 64-bit distributions

  • .NET 10.0, 9.0, 8.0, 7.0, 6.0, .NET Standard 2.0

  • .NET Framework 4.6.2 to 4.8.1

  • Azure App Service and Azure Functions

  • Azure Cloud Services and Virtual Machines

  • Web, console and desktop applications

  • Docker containers for Windows and Linux

Code Sample Icon

Getting Started

You can quickly get started with the ASP.NET demo application available for download, or you can integrate the library into your own project. The online documentation, contains detailed instructions on how to run an application using Winnovative PDF Next Library for .NET on Windows and Linux machines, Azure App Service and Azure Functions for Windows and Linux.

You can view the current capabilities of the library by checking the online demo application and the API reference in the online documentation.

Download Icon Download Demo Application

The ZIP package available for download from the link below includes an ASP.NET demo application project with complete C# source code covering all major library features.

Download Winnovative PDF Next v20.0 for .NET

Running the samples in the demo application that involve Excel to PDF conversion features on Linux platforms might require installing some dependency packages. The documentation includes an entire section dedicated to building, publishing and running the demo application on multiple platforms.

Winnovative PDF Next for .NET NuGet Packages

NuGet Packages

For Windows deployments add a reference to the Winnovative.Pdf.ExcelToPdf.Windows NuGet Package and for Linux deployments add a reference to the Winnovative.Pdf.ExcelToPdf.Linux NuGet Package.

The package for Windows is referenced by the Winnovative.Pdf.Windows metapackage for all components and the package for Linux is referenced by the Winnovative.Pdf.Linux metapackage for all components.

There are also multiplatform metapackages that reference both the Windows and Linux Excel to PDF packages: Winnovative.Pdf.ExcelToPdf for the Excel to PDF functionality and Winnovative.Pdf for the entire Winnovative PDF Next library.

Winnovative PDF Next for .NET Installation Logo

Installation

The Markdown to PDF Converter component uses a platform specific runtime. On Windows platforms, the runtime generally does not require the installation of additional dependencies.

On Linux platforms installing some dependency packages might be necessary, depending on the exact version of Linux you are using.
In online documentation in the Getting Started and Publish guides you can find instructions about Linux dependencies installation on a variety of Linux platforms.

Winnovative PDF Next for .NET Namespace Logo

Winnovative.Pdf.Next Namespace

All components of the Winnovative PDF Next for .NET library share the same Winnovative.Pdf.Next namespace and can be used together in the same application. To use the library in your own code, add the using directive at the top of your C# source file, as shown below.

// add this using statement at the top of your C# file
using Winnovative.Pdf.Next;
Code Sample Icon C# Code Samples

You can use the sample code below to convert an Excel document to a PDF document that you can either save to a file or send to the browser for download.

// Create an Excel to PDF converter object with default settings
ExcelToPdfConverter excelToPdfConverter = new ExcelToPdfConverter();

// Convert Excel file to a PDF in a memory buffer
byte[] outPdfBuffer = excelToPdfConverter.ConvertToPdf(excelFilePath);