Skip to content

@shbernal/ts-pptx


@shbernal/ts-pptx / index / OleObjectProps

Type Alias: OleObjectProps

OleObjectProps = OleObjectBaseProps & DataOrPathRequiredProps

Defined in: src/types/media.ts:336

Options for slide.addOleObject(). Requires either data (base64, with or without a data:...;base64, header) or path (a local/remote file read at export time).

Sizing note: w/h default to 4 × 3 inches rather than being measured, since the library does not open the embedded document.