Installation |
There are 2 ways to install ExpertPdf PdfCreator Library:
Using a NuGet package (.NET Framework and .NET Core)
Downloading assemblies
The easiest way to install ExpertPdf PdfCreator is by using a Nuget Package. Create your project, go to Nuget Package Manager and install one of the following packages:
.NET Framework version - AnyCPU (.NET 2.0 and .NET 4.0-4.5) - ExpertPdf.PdfCreator: https://www.nuget.org/packages/ExpertPdf.PdfCreator/.
.NET Framework version - x64 optimized version - ExpertPdf.PdfCreator.x64: https://www.nuget.org/packages/ExpertPdf.PdfCreator.x64/.
.NET Core version - Windows only (and .NET 4.6.1 and .NET 4.7.2) - ExpertPdf.PdfCreator.NetCore: https://www.nuget.org/packages/ExpertPdf.PdfCreator.NetCore/.
.NET Core version - x64 optimized version - Windows only (and .NET 4.6.1 and .NET 4.7.2) - ExpertPdf.PdfCreator.NetCore.x64: https://www.nuget.org/packages/ExpertPdf.PdfCreator.NetCore.x64/.
Note 1: If the x64 version is used, the application needs to target x64 platform and it needs to run in an x64 worker process.
Note 2: 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.
The ExpertPdf PDF Creator for .NET is delivered as a zip archive and it doesn't have an installer. You have to simply unzip the archive in a folder on the disk. Below is a brief description of the folders from the archive.
Follow these steps to get started with ExpertPdf PdfCreator:
Add epdfcreator.dll and epengine.dll to the bin folder of your application.
Add a reference in the project to epdfcreator.dll.
Write your code (see the samples and this manual for help).
Bin Folder
The Bin folder contains the .NET assembly that you can reference in your application and a XML file containing API documentation used by Microsoft Visual Studio IntelliSense to offer inline documentation for classes, methods and properties while writing code.
Bin/.NET_4.0 folder contains the .NET 4.x assemblies you can use in your applications.
epdfcreator.dll - is the PDF Creator library that you can link in any .NET application, either Windows Forms or ASP.NET.
epdfcreator.xml - is the PDF Creator API documentation used by Microsoft Visual Studio IntelliSense.
epengine.dll - is the library used by the pdf creator to render web pages.
Doc Folder
Doc folder contains the PDF Creator API reference in chm and html format, including this Users' Guide.
Samples Folder
Samples folder contains C# full sample applications to offer you ready to use code for ASP.NET and Windows Forms applications. The applications were created with Microsoft Visual Studio. Each sample has a solution file sln that you can directly open in different versions of Visual Studio.
There is a sample application for each of the most important features of the PDF creator. In the WindowsForms folder there are Windows Forms applications and in the AspNet folder there are web applications. You can find samples for HTML to PDF conversion, RTF to PDF conversion, for adding images, fonts and texts to the PDF document, for adding security features, bookmarks, headers and footers, for modifying existing PDF documents.