Interface: SlidePptxExportOptions
Defined in: src/export/SlideDeckExporter.ts:287
Options for exportSlidesToPPTX.
Properties
background?
optionalbackground:string
Defined in: src/export/SlideDeckExporter.ts:295
Slide background color as a hex string (no leading '#'), for example 'FFFFFF'.
captureSlide?
optionalcaptureSlide:SlideCapturer
Defined in: src/export/SlideDeckExporter.ts:299
DI: per-slide frame capturer. Default seeks and reads canvas.toDataURL.
onProgress()?
optionalonProgress: (progress) =>void
Defined in: src/export/SlideDeckExporter.ts:301
Progress callback in [0, 1].
Parameters
progress
number
Returns
void
pptxFactory?
optionalpptxFactory:PptxFactory
Defined in: src/export/SlideDeckExporter.ts:297
DI: presentation factory. Default optionally imports pptxgenjs.
slideHeight?
optionalslideHeight:number
Defined in: src/export/SlideDeckExporter.ts:293
Slide height in inches. Default 7.5 (16:9 wide).
slideWidth?
optionalslideWidth:number
Defined in: src/export/SlideDeckExporter.ts:291
Slide width in inches. Default 13.333 (16:9 wide).
still?
optionalstill:"first"|"last"
Defined in: src/export/SlideDeckExporter.ts:289
Which still of each slide to capture: 'first' or 'last' frame. Default 'last'.