Companion

object Companion

Factory methods and device-capability checks for HtmlToPdfConverter.

Functions

Link copied to clipboard

Checks whether PSPDFKit can perform HTML-to-PDF conversion on this device. This checks for availability of the WebView system packages. This method returns false, if the WebView package is not installed or has been disabled by the user.

Link copied to clipboard
fun fromHTMLString(context: Context, htmlString: String, baseUrl: String?): HtmlToPdfConverter

Use fromHtmlString instead.

Link copied to clipboard
fun fromHtmlString(context: Context, htmlString: String, baseUrl: String?): HtmlToPdfConverter

Creates HTML-to-PDF converter from HTML string.

Link copied to clipboard

Creates HTML-to-PDF converter from Uri. Supported URIs are: