Winnovative.ExcelToPdf 10.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package Winnovative.ExcelToPdf --version 10.0.0
NuGet\Install-Package Winnovative.ExcelToPdf -Version 10.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Winnovative.ExcelToPdf" Version="10.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Winnovative.ExcelToPdf --version 10.0.0
#r "nuget: Winnovative.ExcelToPdf, 10.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Winnovative.ExcelToPdf as a Cake Addin
#addin nuget:?package=Winnovative.ExcelToPdf&version=10.0.0

// Install Winnovative.ExcelToPdf as a Cake Tool
#tool nuget:?package=Winnovative.ExcelToPdf&version=10.0.0

Winnovative Excel to PDF Library for .NET

Winnovative Logo Image

Excel to PDF for .NET | HTML to PDF Library for .NET | Free Trial | Licensing | Support

Winnovative Excel to PDF Library for .NET can be easily integrated in your applications targeting the .NET Framework to create PDF documents from Excel documents. The library can also be used to create, edit and merge PDF documents.

This version of the library is compatible with .NET Framework on Windows platforms.

For .NET Core and .NET Standard applications on Windows you can use the library from Winnovative.ExcelToPdf.NetCore NuGet package.

In any .NET application for Linux, macOS, Windows, Azure App Service, Xamarin, UWP and other platforms you can use the cross-platform library from Winnovative.Client NuGet package.

Main Features

  • Convert Excel XLS and XLSX documents to PDF
  • Does not require Microsoft Excel or other third party tools
  • Convert to memory buffer, file, stream or to a PDF object for further processing
  • Convert all the worksheets or select the worksheets in workbook to convert
  • Set PDF page size to a standard or a custom size
  • Set PDF page orientation and PDF document margins
  • Add headers and footers with page numbering to PDF pages
  • Append or prepend external PDF files to conversion result
  • Password protect and set permissions of the PDF document
  • Add a digital signature to generated PDF document
  • Add graphic elements to generated PDF document
  • Generate PDF/A and PDF/X compliant documents
  • Generate CMYK and Gray Scale PDF documents
  • Edit existing PDF documents
  • Merge multiple PDF documents in a single PDF document
  • Split a PDF document in multiple PDF documents

Compatibility

Winnovative Excel to PDF Library for .NET is compatible with Windows platforms which support .NET Framework 4.0 and above, including:

  • .NET Framework 4.8.1, 4.7.2, 4.6.1, 4.0 (and above)
  • Windows 32-bit (x86) and 64-bit (x64)
  • Azure Cloud Services and Azure Virtual Machines
  • Web, Console and Desktop applications

Getting Started

After the reference to library was added to your project you are now ready to start writing code to convert Excel to PDF in your .NET application. You can copy the C# code lines from the section below to create a PDF document from an Excel document and save the resulted PDF to a memory buffer for further processing, to a PDF file or send it to browser for download in ASP.NET applications.

C# Code Samples

At the top of your C# source file add the using Winnovative.ExcelToPdf; statement to make available the Winnovative Excel to PDF API for your .NET application.

// add this using statement at the top of your C# file
using Winnovative.ExcelToPdf;

To convert an Excel file to a PDF file you can use the C# code below.

// create the converter object in your code where you want to run conversion
ExcelToPdfConverter converter = new ExcelToPdfConverter();

// convert the Excel file to a PDF file
converter.ConvertExcelFileToFile("my_excel_file_path", "ExcelToFile.pdf");

To convert an Excel file to a PDF document in a memory buffer and then save it to a file you can use the C# code below.

// create the converter object in your code where you want to run conversion
ExcelToPdfConverter converter = new ExcelToPdfConverter();

// convert an Excel file to a memory buffer
byte[] excelToPdfBuffer = converter.ConvertExcelFile("my_excel_file_path");

// write the memory buffer to a PDF file
System.IO.File.WriteAllBytes("ExcelToMemory.pdf", excelToPdfBuffer);

To convert in your ASP.NET MVC applications an Excel file to a PDF document in a memory buffer and then send it for download to browser you can use the C# code below.

// create the converter object in your code where you want to run conversion
ExcelToPdfConverter converter = new ExcelToPdfConverter();

// convert an Excel file to a memory buffer
byte[] excelToPdfBuffer = converter.ConvertExcelFile("my_excel_file_path");

FileResult fileResult = new FileContentResult(excelToPdfBuffer, "application/pdf");
fileResult.FileDownloadName = "ExcelToPdf.pdf";
return fileResult;

To convert in your ASP.NET Web Forms application an Excel file to a PDF document in a memory buffer and then send it for download to browser you can use the C# code below.

// create the converter object in your code where you want to run conversion
ExcelToPdfConverter converter = new ExcelToPdfConverter();

// convert an Excel file to a memory buffer
byte[] excelToPdfBuffer = converter.ConvertExcelFile("my_excel_file_path");

HttpResponse httpResponse = HttpContext.Current.Response;
httpResponse.AddHeader("Content-Type", "application/pdf");
httpResponse.AddHeader("Content-Disposition",
    String.Format("attachment; filename=ExcelToPdf.pdf; size={0}",
    excelToPdfBuffer.Length.ToString()));
httpResponse.BinaryWrite(excelToPdfBuffer);
httpResponse.End();

Free Trial

You can download the full Winnovative Excel to PDF Converter for .NET Framework package from Winnovative Software Downloads page of the website.

The package for .NET Framework contains the product binaries, a demo Visual Studio project with full C# code for Windows Forms targeting .NET Framework 4 and later versions, the library documentation in CHM format.

You can evaluate the library for free as long as it is needed to ensure that the solution fits your application needs.

Licensing

The Winnovative Software licenses are perpetual which means they never expire for a version of the product and include free maintenance for the first year. You can find more details about licensing on website.

Support

For technical and sales questions or for general inquiries about our software and company you can contact us using the email addresses from the contact page of the website.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
10.0.0 273 8/22/2023