Click or drag to resize
Pdf Library for .NET
Installation

There are 2 ways to install SelectPdf Html To Pdf Converter - Community Edition library:

  • Using a NuGet package (.NET Framework and .NET Core)

  • Downloading assemblies (.NET Framework only)

Installation using Nuget Packages

The easiest way to install SelectPdf Html to Pdf Converter is by using a Nuget Package. Create your project, go to Nuget Package Manager and install one of the following packages:

.NET Framework version - Select.HtmlToPdf: https://www.nuget.org/packages/Select.HtmlToPdf/.

.NET Core version - Windows only - Select.HtmlToPdf.NetCore: https://www.nuget.org/packages/Select.HtmlToPdf.NetCore/.

Note: The .NET Core version is for .NET Core 2.0 or above through .NET Standard 2.0. Currently it requires a Windows system to run. It does not work on Linux or Mac or Xamarin.

Installation using Downloaded Assemblies

SelectPdf Html To Pdf Converter for .NET Community Edition can be downloaded from the product site: http://selectpdf.com/community-edition.

SelectPdf Community Edition is shipped as a product archive with the following structure:

Assemblies

Contains the assemblies and related files needed by SelectPdf Library for .NET.

Select.Pdf Html To Pdf Converter is shipped with different versions for CLR 2.0 (.NET 2.0, 3.5) and for CLR 4.0 (.NET 4.0 and above).

Documentation

Contains the product documentation in CHM format.

Samples

Contains C# and VB.NET samples that show how to use most of the features the library provides.

Project Setup

To use Select.Pdf Html To Pdf Converter Community Edition in a .NET project, a reference needs to be added to Select.HtmlToPdf.dll. Besides the .NET assembly, an additional file (Select.Html.dep) is also needed. This needs to be manually copied into the bin folder of the application, next to Select.HtmlToPdf.dll. Alternatively, the path to Select.Html.dep can be specified using the HtmlEngineFullPath property of the GlobalProperties class.

GAC Installation

If you plan to install Select.Pdf HtmlToPdf Converter into GAC, the only dll that needs to be added to GAC is Select.HtmlToPdf.dll. The related file (Select.Html.dep) will be automatically copied to GAC as a linked resource, so no additional action is needed for it.

See Also