NuGet Packages Required
23 Oct 20246 minutes to read
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) |
|
WPF | |
.NET Framework 4.0 Client Profile | |
ASP.NET MVC4 | |
ASP.NET MVC5 | |
UWP | |
ASP.NET Core (Targeting NET Core) Console Application (Targeting .NET Core) Blazor |
|
Xamarin | |
Windows UI (WinUI) .NET Multi-platform App UI (.NET MAUI) |
RETIRED PRODUCTS
Platform(s) | NuGet Package |
---|---|
ASP.NET |
NOTE
- 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.
- 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.
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 | |
(.NET Core, .NET 5, .NET 6 and .Net 8) Linux | |
(.NET Core, .NET 5, .NET 6 and .Net 8) Mac | |
(.NET Core, .NET 5, .NET 6 and .Net 8) Aws |
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 | |
WPF | |
ASP.NET MVC |
RETIRED PRODUCTS
Platform(s) | NuGet Package |
---|---|
ASP.NET |
NOTE
- HTML to PDF conversion is not supported in Silverlight, Windows Phone, WinRT, Universal, Xamarin and UWP applications.
- 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) |
|
WPF | |
ASP.NET MVC4 | |
ASP.NET MVC5 | |
ASP.NET Core Blazor |
RETIRED PRODUCTS
Platform(s) | NuGet Package |
---|---|
ASP.NET |
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) |
|
WPF | |
.NET Framework 4.0 Client Profile | |
ASP.NET MVC4 | |
ASP.NET MVC5 | |
ASP.NET Core Console Application (Targeting .NET Core) Blazor |
|
Xamarin |
RETIRED PRODUCTS
Platform(s) | NuGet Package |
---|---|
ASP.NET |
NOTE
Install SkiaSharp package version 1.59.3 in addition to DocIORenderer package.
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) |
|
WPF | |
.NET Framework 4.0 Client Profile | |
ASP.NET MVC4 | |
ASP.NET MVC5 | |
UWP, ASP.NET Core (Targeting .NET Core), Console Application (Targeting .NET Core) |
|
Xamarin | |
Blazor (Server-App) |
RETIRED PRODUCTS
Platform(s) | NuGet Package |
---|---|
ASP.NET |
NOTE
Excel to PDF conversion is supported from .NET Framework 2.0 and .NET Standard 1.4 onwards.
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) |
|
WPF | |
ASP.NET MVC4 | |
ASP.NET MVC5 | |
ASP.NET Core (Targeting .NET Core) Console Application (Targeting .NET Core) Blazor |
|
Xamarin |
RETIRED PRODUCTS
Platform(s) | NuGet Package |
---|---|
ASP.NET | Syncfusion.PresentationToPdfConverter.AspNet.nupkg](https://www.nuget.org/packages/Syncfusion.PresentationToPdfConverter.AspNet/)'| markdownify }} |
NOTE
PowerPoint Presentation to PDF conversion is supported from .NET Standard 1.4 onwards for ASP.NET Core and Xamarin.
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 MVC4 | Install-package Syncfusion.Pdf.AspNet.Mvc4 | Uninstall-package Syncfusion.Pdf.AspNet.Mvc4 -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 |