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
| Parameter | Type |
|---|---|
html | string |
options? | PdfTransformOptions |
Returns
Promise<Blob>