Transform HTML files, webpages, and email documents into PDF with full rendering of images, CSS, forms, hyperlinks, and JavaScript. Convert from strings, files, or URLs, with complete control over page size and formatting.
View HTML content, convert to PDF, and capture HTML streams with full support for CSS, JavaScript, images, SVG, hyperlinks, and forms. Instance pooling enables faster batch processing.
Display HTML pages in WinForms and WPF viewers with complete rendering of modern web content.
Convert HTML to PDF and capture HTML streams in DocuVieware for seamless web-to-document workflows.
Manage a pool of browser instances for faster processing while maintaining full CSS, JavaScript, and form support.
Set the output page width in points. Default: 1920.
Set the output page height in points. Default: 1080.
Honor CSS-defined page sizes and adjust paper dimensions to fit content.
Specify a custom browser path for HTML rendering.
Configure the number of browser instances for parallel processing.
Practical ways to use HTML support in your applications.
Convert websites, blog articles, and online documentation to PDF for offline access, archiving, or editing in a viewer.
Display and interact with HTML content directly inside your application’s viewer.
Insert HTML content into existing PDFs, convert standalone pages, or index HTML for search and retrieval.
GdPicture.NET uses Chrome or Edge rendering engines for accurate HTML display. If either browser is already installed, no additional setup is needed.
If neither is installed:
chrome.exe using the SetWebBrowserPath() method.
Demo
Enter a URL to see how DocuVieware renders HTML content directly in the browser.
Loading HTML viewer...
GET STARTED
Download and install the GdPicture.NET package to access compiled demo applications and multi-language sample projects with full source code.
\Samples\Bin\.\Samples\WinForm\.The example creates a PDF document from an HTML file.
using GdPictureDocumentConverter gdpictureDocumentConverter = new GdPictureDocumentConverter();// Load the source document.gdpictureDocumentConverter.LoadFromFile(@"C:\temp\source.html", GdPicture14.DocumentFormat.DocumentFormatHTML);// Save the output in a new PDF document.gdpictureDocumentConverter.SaveAsPDF(@"C:\temp\output.pdf");Using gdpictureDocumentConverter As GdPictureDocumentConverter = New GdPictureDocumentConverter() ' Load the source document. gdpictureDocumentConverter.LoadFromFile("C:\temp\source.html", GdPicture14.DocumentFormat.DocumentFormatHTML) ' Save the output in a new PDF document. gdpictureDocumentConverter.SaveAsPDF("C:\temp\output.pdf")End UsingThe SDK provides comprehensive features, including:
These features enable the integration of dynamic HTML content into PDF workflows, enhancing document management and presentation.
Yes. The SDK utilizes Chrome’s rendering engine to ensure high-fidelity HTML processing. If Chrome or Edge is installed on the machine, the SDK will automatically utilize it. If not, developers can:
SetWebBrowserPath() method to define the path to the Chrome executable.This setup ensures consistent and accurate rendering of HTML content.
Absolutely. The GdPicture.NET HTML-to-PDF SDK fully supports the execution of JavaScript, enabling accurate rendering of dynamic and interactive web content within the converted PDF. This ensures elements such as client-side scripts and dynamic data are faithfully reproduced in the output document.
The SDK offers extensive customization capabilities, enabling developers to:
These options provide flexibility to tailor the PDF output to diverse application needs.
Yes. The SDK is designed with performance in mind. It supports the management of a pool of browser instances, which can be configured to optimize processing speed and resource utilization. This feature is particularly beneficial for applications requiring the conversion of multiple HTML documents concurrently, ensuring efficient and rapid processing.
Yes. GdPicture.NET belongs to the Nutrient product family, and the HTML rendering and conversion technology is consistent across Nutrient’s desktop, web, and mobile SDKs, delivering reliable web-to-PDF transformation across platforms.
60-day free trial