HTML to PDF Library
Add HTML format capabilities to your document imaging applications.
View, manage and convert to PDF HTML files, web pages, and email documents.
Render images, CSS, forms, hyperlinks, and JavaScript in your PDF documents.
The GdPicture.NET converter supports HTML conversion from a string, file, or URL and offers many options to control page size and formatting.
All the operations are secured thanks to a sophisticated cache-control system.
HTML support
Main features
Settings
Use cases
Here are a few examples of how to use HTML support in your applications.
HTML support in GdPicture.NET
A browser is required to support HTML content as input into the whole toolkit scope.
Our HTML support currently uses Chrome’s rendering engine and Edge to display your document with the highest accuracy, whether Chrome is installed on the machine or not.
If Chrome or Edge is already installed on your machine, no action on your part is necessary.
If it’s not the case, you have two choices to make it work with Chrome:
1. Install Google Chrome Portable in the installation folder. You can download Google Chrome Portable here.
2. Set the path of the chrome.exe portable version with the SetWebBrowserPath() method.
HTML format viewer
The DocuVieware demo below shows how HTML files can be integrated into existing content.
Loading in progress please wait.
This document is password protected. Please enter a password.
Example of usage
How to use
Download and install GdPicture.NET package from here.
You will find a compiled demo applications in [Install directory]\Samples\Bin\
You will find an example of a full application in [Install directory]\Samples\DotNet\GdPicture.NET 14\
You will find other code snippets within the online reference guide found here