Skip to main content

Function: exportSlidesToPDF()

exportSlidesToPDF(source, options?): Promise<Blob>

Defined in: src/export/SlideDeckExporter.ts:194

Export a slide deck to a PDF, one page per slide.

For each slide the scene seeks to the chosen still (first or last frame), the frame is captured, and the image is placed centered on its own page. An empty deck produces no document and resolves to null.

Parameters​

source​

SlideDeckSource

The slide source (a Player works directly)

options?​

SlidePdfExportOptions

Export options

Returns​

Promise<Blob>

A Promise that resolves to the PDF Blob, or null for an empty deck