HTML

Introduction iText 7's new add-on pdfHTML is a tool that aims to greatly simplify HTML to PDF conversion in Java or .NET. This is a straightforward and uniform use case, so many users will get satisfactory results with the one-line code sample below. For more complex usage, you may need to provide some configuration to pdfHTML. In this post, I will attempt to explain why you may need to use the config options, and how to use them. Basics The default way to use pdfHTML is either one of two basic one-line code samples: HtmlConverter.convertToPdf(new File("input.html"), new...
iText Launches pdfHTML to Easily Convert HTML to PDF Ghent, Belgium, March 16, 2017 – Leading PDF library company iText Software today introduced pdfHTML, a powerful tool to easily convert HTML and CSS content into a PDF document. An iText 7 add-on, pdfHTML is a premium upgrade to the previous XML Worker from iText 5. The new solution provides more functionality out of the box and easier extensibility and customization. “HTML is ubiquitous. A lot of software already outputs HTML in one way or another, and most developers know at least the basics,” said Raf Hens, iText director of product...

Converting HTML to PDF

Use the pdfHTML add-on to convert HTML and CSS to PDF.

English