ceTe.DynamicPDF.HtmlConverter.NET
3.4.0
Prefix Reserved
dotnet add package ceTe.DynamicPDF.HtmlConverter.NET --version 3.4.0
NuGet\Install-Package ceTe.DynamicPDF.HtmlConverter.NET -Version 3.4.0
<PackageReference Include="ceTe.DynamicPDF.HtmlConverter.NET" Version="3.4.0" />
<PackageVersion Include="ceTe.DynamicPDF.HtmlConverter.NET" Version="3.4.0" />
<PackageReference Include="ceTe.DynamicPDF.HtmlConverter.NET" />
paket add ceTe.DynamicPDF.HtmlConverter.NET --version 3.4.0
#r "nuget: ceTe.DynamicPDF.HtmlConverter.NET, 3.4.0"
#:package ceTe.DynamicPDF.HtmlConverter.NET@3.4.0
#addin nuget:?package=ceTe.DynamicPDF.HtmlConverter.NET&version=3.4.0
#tool nuget:?package=ceTe.DynamicPDF.HtmlConverter.NET&version=3.4.0
DynamicPDF HTMLConverter for .NET
DynamicPDF HTMLConverter for .NET enables you to easily generate PDF documents from HTML content or URLs. It uses the Chromium engine internally to render HTML with high fidelity.
Note
This library uses Chromium binaries downloaded from:
https://googlechromelabs.github.io/chrome-for-testing/
DynamicPDF does not build Chromium. You may also configure the library to use an existing Chromium installation available on your system instead of the bundled binaries.
Contents
- Introduction
- Deployment
- Dependencies
- DynamicPDF Converter Service
- Help Documentation
- Examples
- Licensing
Introduction
DynamicPDF HTMLConverter for .NET allows you to create PDF documents from HTML text or web URLs with ease while leveraging the Chromium rendering engine for accurate HTML-to-PDF conversion.
Deployment
Simply reference DynamicPDF.HTMLConverter.dll in your .NET application.
.NET Assembly
The library targets .NET Standard 2.0, making it compatible with:
- .NET Framework
- .NET Core
- .NET 5+
- Any platform supporting .NET Standard 2.0
| Assembly | Platform |
|---|---|
DynamicPDF.HTMLConverter.dll |
All platforms supporting .NET Standard 2.0 |
The accompanying XML documentation file is used for IntelliSense and does not need to be distributed with your application.
Dependencies
The HTMLConverter requires Chromium to render HTML.
You have two options:
- Use the
ceTe.DynamicPDF.HtmlToPDFResourcesNuGet package, which contains the Chromium binaries provided by DynamicPDF. - Configure the library to use an existing Chromium installation already available on your system.
DynamicPDF Converter Service
When your application runs under a user account with restricted access to system resources (for example, an IIS application pool), DynamicPDF HTMLConverter requires a Windows service to perform HTML-to-PDF conversions.
DynamicPDF.HTMLConverter.dll automatically detects and uses the service when it is available.
If you are using the DynamicPDF Converter for .NET product, please follow the installation and usage instructions provided with that product, as both versions use the same Windows service.
Note
If you are already using DynamicPDF Converter for .NET, follow the installation instructions provided with that product. Both products use the same Windows service.
Installing the Converter Service
Uninstall any previous version of the DynamicPDF Converter service.
Locate the DPDFConverterService folder.
Copy the following files to a permanent location:
DynamicPDF.Converter.Service.exeDynamicPDF.Converter.Service.exe.configReadMe.txt
Open Command Prompt as Administrator.
Navigate to the folder containing the service files.
Run:
DynamicPDF.Converter.Service.exe /r
- When prompted, enter the credentials for a Windows user account under which the service will run.
Uninstalling the Converter Service
Open Command Prompt as Administrator, navigate to the service directory, and run:
DynamicPDF.Converter.Service.exe /u
Help Documentation
Complete documentation and API reference:
https://www.dynamicpdf.com/docs/dotnet/html-converter-welcome
Examples
Sample projects are available on GitHub:
https://github.com/DynamicPDF/html-converter-dotnet-core
Licensing
DynamicPDF HTMLConverter is licensed under the DynamicPDF Essentials End User License Agreement (EULA).
For complete licensing information:
https://www.dynamicpdf.com/Company/LicenseAgreement/EULA.pdf
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Universal Windows Platform | uap10 is compatible. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 2.0
- ceTe.DynamicPDF.HtmlToPDFResources (>= 2.0.0)
- Microsoft.NETCore.Platforms (>= 2.0.0)
-
.NETStandard 2.0
- ceTe.DynamicPDF.HtmlToPDFResources (>= 2.0.0)
- NETStandard.Library (>= 2.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ceTe.DynamicPDF.HtmlConverter.NET:
| Package | Downloads |
|---|---|
|
Entirical.Document.DynamicPDF
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.4.0 | 135 | 8/5/2026 |
| 3.3.0 | 8,380 | 1/28/2026 |
| 3.2.0 | 4,575 | 12/1/2025 |
| 3.1.0 | 3,543 | 10/16/2025 |
| 3.0.0-beta | 316 | 7/1/2025 |
| 2.4.0 | 42,553 | 2/27/2025 |
| 2.3.0 | 13,557 | 9/3/2024 |
| 2.2.0 | 11,763 | 6/4/2024 |
| 2.1.0 | 1,603 | 5/6/2024 |
| 2.0.0-beta | 360 | 3/12/2024 |
| 1.16.0 | 42,332 | 1/23/2024 |
| 1.15.0 | 15,399 | 12/13/2023 |
| 1.14.0 | 57,202 | 10/12/2023 |
| 1.13.0 | 5,916 | 8/10/2023 |
| 1.12.0 | 7,061 | 6/27/2023 |
| 1.11.0 | 9,549 | 6/1/2023 |
| 1.10.0 | 18,186 | 2/24/2023 |
| 1.9.0 | 4,872 | 12/22/2022 |
| 1.8.0 | 19,384 | 9/29/2022 |
| 1.7.0 | 59,720 | 4/6/2022 |
* Improved handling of orphaned Chromium processes.
* Resolved an issue where HttpClient requests could time out unexpectedly.