Skip to main content Skip to footer
Export HTML to PDF using .NET PDF Library

Multi-Platform C# VB .NET PDF API to render HTML content on Windows, macOS or Linux

Utilize all the rich visual features of modern HTML to enhance your PDF documents created with Document Solutions for PDF (DsPdf). Multi-platform C# VB .NET PDF API to render HTML content on Windows, macOS, or Linux (including Linux Azure applications services).

  • Convert HTML content to PDF using the new Document Solutions for HTML (DsHtml) package
  • The platform-independent package allows HTML conversion to PDF documents or images
  • Convenient extension methods can be utilized to include HTML fragments into PDF documents or pictures along with other content
  • Render with the industry-standard Chrome
    web browser engine in the headless mode, offering the advantage of rendering HTML on any platform
Download Free Trial (V 8.1.4)

Benefits of Rendering HTML Content to PDF Using a .NET API

Cross-Platform JavaScript Viewer

Render HTML Content

DsHtml uses the Chromium web browser, working in a headless mode. The multi-platform package supports significant platforms such as Windows, macOS, Linux, Azure, and AWS.

Application Code

Fully Supports HTML

DsPdf HTML to PDF converter fully supports HTML elements like hyperlinks, CSS, JavaScript, HTML5, SVG , and HTML tables.

Document Processing .NET API

Create Data-Bound PDF Reports from HTML Templates

Define data-bound fields with mustache syntax in HTML Templates and easily convert HTML to PDF documents to generate full professional data-bound reports.

Reporting Features

Visual Features of Modern HTML

Enhance your PDF documents with the modern HTML. Includes rich visual features that you can use along with all features of DsPdf to enhance your documents.

Split Long HTML to Multiple PDF Pages

Render an arbitrary long HTML to a multi-page PDF. Make an HTML table with fixed row height; it can be rendered starting at any position on the first page, into a PDF created in DsPdf, along with other content.

WYSIWYG Conversion

Preserve exact formatting with converting HTML to PDF with HTML exact page format. The conversion preserves all HTML content like text, fonts, images, graphics, and HTML layout and formatting of the original document or web page. Render the PDF on any device without any format issues.

Convert HTML Invoices to PDF at Scale in .NET Applications

Convert HTML Invoices to PDF

Use the DrawHTML method to convert the entire HTML invoice file to PDF, with just a single line of code. View final HTML reports on any device without loss of formatting.

Learn More

Top .NET PDF API Features for Rendering HTML Content

Draw Simple String of HTML on a PDF using a .NET PDF API

Draw Simple String

Draw a simple string on PDF documents using the 'DrawHTML' method.

 

Learn more VIEW DEMO
Render Web Page to PDF using a .NET PDF API Library

Render Web Page to PDF

Use DsHtmlRenderer to render webpage URL directly on PDF document.

 

Learn More VIEW DEMO
Specify PDF Page Settings in C# or VB.NET

PDF Settings

Specify options such as page orientation, margins, headers, and footers while rendering HTML web page to PDF.

 

Learn More VIEW DEMO
Render an HTML Table on a PDF File Programmatically

Simple HTML Table

Insert an HTML table into a PDF along with other (non-HTML) content.

Learn More VIEW DEMO
Render Dynamic HTML Tables on PDFs using a .NET PDF API Library

Dynamic Table

Insert an HTML table with a varying number of rows that might not fit on a single page, into a PDF document.

Learn More VIEW DEMO
Render Bound HTML Table to PDF Programmatically

Render Bound HTML Table to PDF

Render a data table from an XML data set using an HTML template to PDF document.

Learn More VIEW DEMO
Merge Table Rows on PDFs

Merge Table Rows

Build a table using JavaScript to merge cells with same values and render to PDF.

 

Learn more VIEW DEMO
Generate Data Bound PDF Reports from an HTML Templates in .NET apps

HTML Template

Use an HTML template to render a data-bound report.

 

Learn More VIEW DEMO

Video: How to Convert HTML to PDF

Trusted by the World's Leading Companies

"The speed to build what we needed and the level of ease of use of controls are why we chose GrapeCity [now known as MESCIUS]. It was a perfect fit."

Spiro Skias - CGI