Skip to main content

Function: savePDF()

savePDF(options): Promise<null | string>

Defined in: lib/media/pdf.ts:71

Saves a PDF file generated from the provided options to the device.

Parameters

options

PDFGenerationOptions

The options for generating the PDF.

Returns

Promise<null | string>

A promise that resolves to the file path of the saved PDF, or null if an error occurs.