Skip to main content

Function: exportPdfWithReport()

function exportPdfWithReport(pages, options): Promise<PdfExportResult>;

Writes the PDF and reports how it went. Lazy: the first call loads jsPDF and svg2pdf.js. Browser only. Rejects with PdfPageLimitError (before loading anything) past 200 pages.

Parameters​

pages​

readonly PdfPageSource[]

options​

PdfOptions

Returns​

Promise<PdfExportResult>