NuGet Packages Required for PDF

18 Nov 20188 minutes to read

Create and modify PDF documents

To work with PDF documents, the following NuGet packages need to be installed in your application.

Platform(s) NuGet Package
Windows Forms
Console Application (Targeting .NET Framework)

Syncfusion.Pdf.WinForms.nupkg

WPF

Syncfusion.Pdf.Wpf.nupkg

ASP.NET MVC5

Syncfusion.Pdf.AspNet.Mvc5.nupkg

UWP

Syncfusion.Pdf.UWP.nupkg

ASP.NET Core (Targeting NET Core)
Console Application (Targeting .NET Core)
Blazor

Syncfusion.Pdf.Net.Core.nupkg

Xamarin

Syncfusion.Xamarin.Pdf.nupkg

Windows UI (WinUI)
.NET Multi-platform App UI (.NET MAUI)

Syncfusion.Pdf.NET.nupkg

RETIRED PRODUCTS

Platform(s) NuGet Package
ASP.NET

Syncfusion.Pdf.AspNet.nupkg

NOTE

  1. Starting with v16.2.0.x, if you reference Syncfusion® assemblies from trial setup or from the NuGet feed, you also have to add “Syncfusion.Licensing” assembly reference and include a license key in your projects. Please refer to this link to know about registering Syncfusion license key in your application to use our components.
  2. From the Essential Studio® 2018 Volume 3 release(v16.3.0.21), Syncfusion® has changed some of the NuGet package names to search and find the required Syncfusion® NuGet packages in nuget.org easily based on the control and its platforms.

Additional NuGet package for advanced PDF processing (.NET Core)

For advanced PDF features like compression, redaction, PDF/A conversion, image extraction, and OCR, include the corresponding Syncfusion® imaging package in your .NET Core applications:

Platform(s) NuGet Package
ASP.NET Core (Targeting NET Core) Console Application (Targeting .NET Core) Blazor

Syncfusion.Pdf.Imaging.Net.Core.nupkg

Xamarin

Syncfusion.Xamarin.Pdf.Imaging.nupkg

Windows UI (WinUI) .NET Multi-platform App UI (.NET MAUI)

Syncfusion.Pdf.Imaging.NET.nupkg

Additional NuGet packages required for Linux

The SkiaSharp native assets NuGet package is required as additional dependency in your application created for deploying in Linux environments. There are 2 types of NuGet packages, please choose the correct NuGet package based on your Linux environment.

The following table illustrates the native assets NuGet package with their matching Linux environments

Required Native assets NuGet packages Applicable Linux environments

SkiaSharp.NativeAssets.Linux v3.116.1

Common Linux distributions such as Ubuntu, Alpine, CentOS, Debian, Fedora, and RHEL Azure App Service Google App Engine

SkiaSharp.NativeAssets.Linux.NoDependencies v3.116.1

AWS Lambda AWS Elastic Beanstalk

Converting HTML to PDF

For converting HTML to PDF file, the following NuGet packages need to to be installed in your .NET application from nuget.org.

NOTE

The HTML to PDF converter library internally uses the Blink rendering engine for the conversion. The binaries will differ for Windows, Linux, Mac, and AWS. So, separate packages are provided based on OS. Include the packages based on your requirement.

Platform(s) NuGet Package
(.NET Core, .NET 5, .NET 6 and .NET 8) Windows

Syncfusion.HtmlToPdfConverter.Net.Windows.nupkg

(.NET Core, .NET 5, .NET 6 and .NET 8) Linux

Syncfusion.HtmlToPdfConverter.Net.Linux.nupkg

(.NET Core, .NET 5, .NET 6 and .NET 8) Mac

Syncfusion.HtmlToPdfConverter.Net.Mac.nupkg

(.NET Core, .NET 5, .NET 6 and .NET 8) Aws

Syncfusion.HtmlToPdfConverter.Net.Aws.nupkg

Use the following packages for .NET Framework targeted applications. If you are using other Syncfusion libraries or components, use the HTML to PDF converter library with the same platform packages.

Platform(s) NuGet Package
Windows Forms

Syncfusion.HtmlToPdfConverter.WinForms.nupkg

WPF

Syncfusion.HtmlToPdfConverter.Wpf.nupkg

ASP.NET MVC

Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.nupkg

RETIRED PRODUCTS

Platform(s) NuGet Package
ASP.NET

Syncfusion.HtmlToPdfConverter.AspNet.nupkg

NOTE

  1. HTML to PDF conversion is not supported in Silverlight, Windows Phone, WinRT, Universal, Xamarin and UWP applications.
  2. Starting with v21.1.XX, The package structure is changed if you reference Syncfusion® HTML to the PDF library from the NuGet feed. The Blink binaries paths are automatically added and do not need to add it manually. However, if you need to refer the blink binaries paths in your application manually, please use the BlinkPath in BlinkConverterSettings. Get the BlinkBinaries from the NuGet package runtime folder or get the binaries by installing the HTML converter installer.

PDF OCR

For recognizing text from the scanned PDF document, the following NuGet packages should be installed in your application:

Platform(s) NuGet package
Windows Forms,
Console Application (Targeting .NET Framework)

Syncfusion.PDF.OCR.WinForms.nupkg

WPF

Syncfusion.PDF.OCR.Wpf.nupkg

ASP.NET MVC5

Syncfusion.PDF.OCR.AspNet.Mvc5.nupkg

ASP.NET Core
Blazor

Syncfusion.PDF.OCR.Net.Core.nupkg

RETIRED PRODUCTS

Platform(s) NuGet Package
ASP.NET

Syncfusion.PDF.OCR.AspNet.nupkg

Converting Word to PDF

For converting Word document into PDF, the following NuGet packages need to be installed in your application.

Platform(s) NuGet Package
Windows Forms
Console Application (Targeting .NET Framework)

Syncfusion.DocToPdfConverter.WinForms.nupkg

WPF

Syncfusion.DocToPdfConverter.Wpf.nupkg

ASP.NET MVC5

Syncfusion.DocToPdfConverter.AspNet.Mvc5.nupkg

ASP.NET Core
Console Application (Targeting .NET Core)
Blazor

Syncfusion.DocIORenderer.Net.Core.nupkg

Xamarin

Syncfusion.Xamarin.DocIORenderer.nupkg

RETIRED PRODUCTS

Platform(s) NuGet Package
ASP.NET

Syncfusion.DocToPdfConverter.AspNet.nupkg

Converting Excel document to PDF

For converting Excel document into PDF, the following NuGet packages need to be installed in your application.

Platform(s) NuGet Package
Windows Forms,
Console Application (Targeting .NET Framework)

Syncfusion.ExcelToPDFConverter.WinForms.nupkg

WPF

Syncfusion.ExcelToPDFConverter.Wpf.nupkg

ASP.NET MVC5

Syncfusion.ExcelToPDFConverter.AspNet.Mvc5.nupkg

UWP,
ASP.NET Core (Targeting .NET Core),
Console Application (Targeting .NET Core)

Syncfusion.XlsIORenderer.Net.Core.nupkg

Xamarin

Syncfusion.Xamarin.XlsIORenderer.nupkg

Blazor (Server-App)

Syncfusion.XlsIORenderer.Net.Core.nupkg

RETIRED PRODUCTS

Platform(s) NuGet Package
ASP.NET

Syncfusion.ExcelToPdfConverter.AspNet.nupkg

Converting Presentation document to PDF

For converting PowerPoint Presentation to PDF, the following NuGet packages need to be installed in your application.

Platform(s) NuGet Package
Windows Forms
Console Application (Targeting .NET Framework)

Syncfusion.PresentationToPdfConverter.WinForms.nupkg

WPF

Syncfusion.PresentationToPdfConverter.Wpf.nupkg

ASP.NET MVC5

Syncfusion.PresentationToPdfConverter.AspNet.Mvc5.nupkg

ASP.NET Core (Targeting .NET Core)
Console Application (Targeting .NET Core)
Blazor

Syncfusion.PresentationRenderer.Net.Core.nupkg

Xamarin

Syncfusion.Xamarin.PresentationRenderer.nupkg

RETIRED PRODUCTS

Platform(s) NuGet Package
ASP.NET

Syncfusion.PresentationToPdfConverter.AspNet.nupkg

NuGet Package Installation and Uninstallation

To use NuGet package in your project, please refer the NuGet Package Installation and Uninstallation sections.

PDF NuGet packages can be installed and uninstalled using Package Manager Console. In Visual Studio, select Tools > NuGet Package Manager > Package Manager Console and execute the below commands in respective platforms.

NOTE

Syncfusion® components are available in nuget.org

Platform(s) Install UnInstall
Windows Forms Install-package Syncfusion.Pdf.WinForms Uninstall-package Syncfusion.Pdf.WinForms -RemoveDependencies
WPF Install-package Syncfusion.Pdf.Wpf Uninstall-package Syncfusion.Pdf.Wpf -RemoveDependencies
ASP.NET MVC5 Install-package Syncfusion.Pdf.AspNet.Mvc5 Uninstall-package Syncfusion.Pdf.AspNet.Mvc5 -RemoveDependencies
UWP Install-package Syncfusion.Pdf.UWP Uninstall-package Syncfusion.Pdf.UWP
ASP.NET Core Install-package Syncfusion.Pdf.Net.Core Uninstall-package Syncfusion.Pdf.Net.Core –RemoveDependencies
Xamarin Install-package Syncfusion.Xamarin.Pdf Uninstall-package Syncfusion.Xamarin.Pdf -RemoveDependencies