HtmlToPdfConverter

HtmlToPdfConverter

Overview

HtmlToPdfConverter is a class in Aspose.PDF FOSS for Java.

Converts HTML content to a PDF {@link Document}.

This class provides 2 methods for working with HtmlToPdfConverter objects in Java programs. Available methods include: convert. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.

Methods

SignatureDescription
convert(htmlStream: InputStream, options: HtmlLoadOptions)DocumentConverts an HTML input stream to a PDF Document.
convert(html: String, options: HtmlLoadOptions)DocumentConverts an HTML string to a PDF Document.

See Also

 English