Skip to content

getPDFData

getPDFData(canvas, doc, options): Promise<jsPDF>

Get PDF data of the doc

Parameters

canvas: Canvas

The editor’s canvas

doc: Doc

The document to export

options: Partial<ExportPDFOptions>

The options for exporting

Returns

Promise<jsPDF>

The PDF document (jsPDF instance)

Source

index.ts:141