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
| Signature | Description |
|---|---|
convert(htmlStream: InputStream, options: HtmlLoadOptions) → Document | Converts an HTML input stream to a PDF Document. |
convert(html: String, options: HtmlLoadOptions) → Document | Converts an HTML string to a PDF Document. |