Skip to content

Function: htmlToPdfBlob() ​

ts
function htmlToPdfBlob(html, options?): Promise<Blob>;

Defined in: application/services/transformers/html-to-pdf.ts:28

Lays out HTML (typically from documentToHtml) as a text PDF with headings, paragraphs and bullets, using the standard Helvetica fonts. URLs get clickable link annotations. Characters outside WinAnsi are transliterated or replaced with ?.

Parameters ​

ParameterType
htmlstring
options?PdfTransformOptions

Returns ​

Promise<Blob>