Contents
Introduction
You have just downloaded DynamicPDF HTMLConverter for .NET. Create PDF documents out of HTML text or urls with ease. This internally uses the Chromium engine.
Our library uses Chromium binaries downloaded from https://googlechromelabs.github.io/chrome-for-testing and we do not build Chromium.
Users have the option to utilize the Chromium present in their system instead of the one provided with our product.
Deployment
HTMLConverter can be used by just referencing the DynamicPDF.HTMLConverter.dll in any .NET project.
.NET Assemblies
This is a .NET Standard 2.0 dll, so it can be used with .NET Core, .NET framework etc.
| Assembly | Platform |
|---|---|
| DynamicPDF.HTMLConverter.dll | All platforms supported by .NET Standard 2.X (including .NET Core 2.X) |
They are present in the Bin folder. The accompanying xml files are for intelli-sense and do not need to be distributed with your product.
Dependencies
You can download Chromium files from our website and provide a NuGet package with the ID "ceTe.DynamicPDF.HtmlToPDFResources" as a dependency to our product package. However, you have the option to use your own Chromium instead of the Chromium provided by us.DynamicPDF Converter Service
In environments where your application runs under a user account with limited access to system resources (such as an IIS-hosted application), DynamicPDF HTMLConverter for .NET requires a Windows service to perform HTML to PDF conversions.
The DynamicPDF.HTMLConverter.dll assembly will automatically detect and utilize this service when 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.
Installing the DynamicPDF Converter Service
- Uninstall any previous versions of the "DynamicPDF Converter" service before installing this version.
-
The "DPDFConverterService" folder contains the following files:
- DynamicPDF.Converter.Service.exe
- DynamicPDF.Converter.Service.exe.config
- ReadMe.txt
- Copy or move these files to a permanent location on your system.
- Open Command Prompt as Administrator (Right-click > Run as administrator).
-
Navigate to the folder containing the above files, and run the following command to install the service:
- DynamicPDF.Converter.Service.exe /r
- A pop-up dialog will appear prompting you to enter the credentials of the user account under which the service will run.
Uninstalling the DynamicPDF Converter Service
- Open Command Prompt as Administrator.
-
Navigate to the folder where the service is installed, and run the following command to uninstall it:
- DynamicPDF.Converter.Service.exe /u
Help Documentation
Help documentation and our API reference is available on our website:
Examples
Examples are available on GitHub:
Licensing
HTMLConverter is part of the DynamicPDF Essentials EULA.
