NuGet Packages Required
29 Nov 20223 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 3.5 or 4.0 Client Profile | |
ASP.NET | |
ASP.NET MVC4 | |
ASP.NET MVC5 | |
UWP | |
ASP.NET Core (Targeting NET Core) Console Application (Targeting .NET Core) |
|
ASP.NET Core (Targeting NET Framework) | |
Xamarin |
NOTE
Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, you also have to 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.
NOTE
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) Windows | |
(.NET Core, .NET 5, .NET 6) Linux | |
(.NET Core, .NET 5, .NET 6) Mac | |
(.NET Core, .NET 5, .NET 6) 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 | |
ASP.NET MVC |
NOTE
HTML to PDF conversion is not supported in Silverlight, Windows Phone, WinRT, Universal, Xamarin and UWP applications.
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 | |
ASP.NET MVC4 | |
ASP.NET MVC5 | |
ASP.NET Core |
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 3.5 or 4.0 Client Profile | |
ASP.NET | |
ASP.NET MVC4 | |
ASP.NET MVC5 | |
ASP.NET Core Console Application (Targeting .NET Core) |
|
Xamarin |
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 3.5 or 4.0 Client Profile | |
ASP.NET Web Forms, ASP.NET Core (Targeting .NET Framework) |
|
ASP.NET MVC4 | |
ASP.NET MVC5 | |
UWP, ASP.NET Core (Targeting .NET Core), Console Application (Targeting .NET Core) |
|
Xamarin | |
Blazor (Server-Side) |
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 | |
ASP.NET MVC4 | |
ASP.NET MVC5 | |
ASP.NET Core (Targeting .NET Core) Console Application (Targeting .NET Core) |
|
Xamarin |
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 | Install-package Syncfusion.Pdf.AspNet | Uninstall-package Syncfusion.Pdf.AspNet -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 |