Skip to main content

Function: exportSlidesToPPTX()

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

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

Export a slide deck to a PPTX presentation, one slide per deck slide.

PPTX support is optional: pass pptxFactory, or install pptxgenjs so the default optional import resolves. Each captured still is placed to fit the slide, preserving aspect. An empty deck resolves to null.

Parameters​

source​

SlideDeckSource

The slide source (a Player works directly)

options?​

SlidePptxExportOptions

Export options

Returns​

Promise<Blob>

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