NuGet Packages Required

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

Platform(s) NuGet Package
Windows Forms

Syncfusion.Pdf.WinForms.nupkg

WPF

Syncfusion.Pdf.Wpf.nupkg

ASP.NET

Syncfusion.Pdf.AspNet.nupkg

ASP.NET MVC4

Syncfusion.Pdf.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.Pdf.AspNet.Mvc5.nupkg

UWP

Syncfusion.Pdf.UWP.nupkg

ASP.NET Core (Targeting NET Core)

Syncfusion.Pdf.Net.Core.nupkg

ASP.NET Core (Targeting NET Framework)

Syncfusion.Pdf.AspNet.nupkg

Xamarin

Syncfusion.Xamarin.Pdf.nupkg

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 using IE rendering engine, the following NuGet packages need to be installed in your application.

Platform(s) NuGet Package
Windows Forms

Syncfusion.HtmlToPdfConverter.IE.WinForms.nupkg

WPF

Syncfusion.HtmlToPdfConverter.IE.Wpf.nupkg

ASP.NET

Syncfusion.HtmlToPdfConverter.IE.AspNet.nupkg

ASP.NET MVC4

Syncfusion.HtmlToPdfConverter.IE.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.HtmlToPdfConverter.IE.AspNet.Mvc5.nupkg

For converting HTML to PDF using QtWebkit rendering engine, the following NuGet packages need to be installed in your application.

Platform(s) NuGet Package
Windows Forms

Syncfusion.HtmlToPdfConverter.QtWebKit.WinForms.nupkg

WPF

Syncfusion.HtmlToPdfConverter.QtWebKit.Wpf.nupkg

ASP.NET

Syncfusion.HtmlToPdfConverter.QtWebKit.AspNet.nupkg

ASP.NET MVC4

Syncfusion.HtmlToPdfConverter.QtWebKit.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.HtmlToPdfConverter.QtWebKit.AspNet.Mvc5.nupkg

ASP.NET Core

Syncfusion.HtmlToPdfConverter.QtWebKit.Net.Core.nupkg

For converting HTML to PDF using Blink rendering engine, the following NuGet packages need to be installed in your application.

Platform(s) NuGet Package
Windows Forms

Syncfusion.HtmlToPdfConverter.Blink.WinForms.nupkg

WPF

Syncfusion.HtmlToPdfConverter.Blink.Wpf.nupkg

ASP.NET

Syncfusion.HtmlToPdfConverter.Blink.AspNet.nupkg

ASP.NET MVC5

Syncfusion.HtmlToPdfConverter.Blink.AspNet.Mvc5.nupkg

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

Syncfusion.PDF.OCR.WinForms.nupkg

WPF

Syncfusion.PDF.OCR.Wpf.nupkg

ASP.NET

Syncfusion.PDF.OCR.AspNet.nupkg

ASP.NET MVC4

Syncfusion.PDF.OCR.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.PDF.OCR.AspNet.Mvc5.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

Syncfusion.DocToPdfConverter.WinForms.nupkg

WPF

Syncfusion.DocToPdfConverter.Wpf.nupkg

ASP.NET

Syncfusion.DocToPdfConverter.AspNet.nupkg

ASP.NET MVC4

Syncfusion.DocToPdfConverter.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.DocToPdfConverter.AspNet.Mvc5.nupkg

ASP.NET Core

Syncfusion.DocIORenderer.Net.Core.nupkg

Xamarin

Syncfusion.Xamarin.DocIORenderer.nupkg

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

Syncfusion.ExcelToPDFConverter.WinForms.nupkg

WPF

Syncfusion.ExcelToPDFConverter.Wpf.nupkg

ASP.NET

Syncfusion.ExcelToPDFConverter.Base.nupkg

ASP.NET MVC4

Syncfusion.ExcelToPDFConverter.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.ExcelToPDFConverter.AspNet.Mvc5.nupkg

NOTE

Excel to PDF/Image conversion is not supported in Xamarin, UWP and ASP.NET Core applications.

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

Syncfusion.PresentationToPdfConverter.WinForms.nupkg

WPF

Syncfusion.PresentationToPdfConverter.Wpf.nupkg

ASP.NET

Syncfusion.PresentationToPdfConverter.AspNet.nupkg

ASP.NET MVC4

Syncfusion.PresentationToPdfConverter.AspNet.Mvc4.nupkg

ASP.NET MVC5

Syncfusion.PresentationToPdfConverter.AspNet.Mvc5.nupkg

NOTE

Presentation to PDF/Image conversion is not supported in Xamarin, UWP and ASP.NET Core applications.

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