Installation |
Install PDF Creator from NuGet - the recommended way - or reference the assemblies of the download. There is no installer and nothing to register on the server.
For .NET Core, .NET 5 - .NET 11 and .NET Framework 4.6.1 or later, install ExpertPdf.PdfCreator.NetCore and, for the Chromium or Blink rendering engine, its engine package:
dotnet add package ExpertPdf.PdfCreator.NetCore dotnet add package ExpertPdf.PdfCreator.NetCore.Chromium.Windows
Package | Content |
|---|---|
ExpertPdf.PdfCreator.NetCore | PDF Creator for .NET Standard 2.0 (.NET Core 2.0+, .NET 5 - .NET 11) and .NET Framework 4.6.1+, with the WebKit engine. 32-bit and AnyCPU processes. |
ExpertPdf.PdfCreator.NetCore.x64 | The same, for 64-bit processes. |
ExpertPdf.PdfCreator.NetCore.Chromium.Windows (.x64) | The Chromium rendering engine. |
ExpertPdf.PdfCreator.NetCore.Blink (.x64) | The Blink rendering engine. |
ExpertPdf.PdfCreator (.x64) | PDF Creator for .NET Framework 2.0 to 4.8.1 (.NET 2.0 and .NET 4.0 builds), with the WebKit engine and the RTF to PDF element. |
ExpertPdf.PdfCreator.Chromium.Windows (.x64) | The Chromium rendering engine for the ExpertPdf.PdfCreator package. |
Match the package to the process architecture: an x86 or AnyCPU application uses the packages without the x64 suffix, a 64-bit application the x64 packages. The engine packages copy their files next to your application when it builds.
The download (a zip archive) contains:
Bin - the .NET 2.0 build: epdfcreator.dll (the library), epdfcreator.xml (the IntelliSense documentation) and epengine.dll (the WebKit engine).
Bin\.NET_4.0 - the same files built for .NET Framework 4.0 and later.
Doc - this documentation (open index.html, or the .chm file).
Samples - .NET Framework samples (C# and VB.NET) that use the assemblies of the Bin folder.
Samples_NET_10 - .NET 10 and .NET 11 samples that use the NuGet packages.
To use the assemblies in your application:
Add a reference to epdfcreator.dll (from Bin\.NET_4.0 for .NET Framework 4.x applications).
Keep epengine.dll in the same folder as epdfcreator.dll: Visual Studio copies it to your output folder with the reference. If it is missing from the output folder (some SDK-style projects), add it to the project with "Copy to Output Directory".
For the Chromium engine, extract the Chromium download (ExpertPdf-Chromium-Windows, or ExpertPdf-Chromium-Windows-x64 for 64-bit processes) and copy its Chromium-CEF-154.0.8037 folder next to your application, or set CefEnginePath to it.
The download has the x86 build; the 64-bit build is in the x64 download of the ExpertPdf toolkit and in the x64 NuGet packages.
The RtfToPdfElement (RTF content) is part of the .NET Framework 2.0 and 4.0 builds - the ExpertPdf.PdfCreator package and the Bin folders of the download. The ExpertPdf.PdfCreator.NetCore packages (.NET Core, .NET 5+, .NET Framework 4.6.1+) do not include it.