Appearance
@shbernal/ts-pptx / index / SlideZoomProps
Interface: SlideZoomProps
Defined in: src/types/zoom.ts:36
Slide Zoom: a tile that zooms to a single target slide.
Extends
Properties
coverImage?
optionalcoverImage?:object
Defined in: src/types/zoom.ts:25
Ship a caller-supplied thumbnail instead of the gray placeholder — a raster image path (Node/local) or base64 data: URI. Shown as-authored (not auto-refreshed by PowerPoint).
data?
optionaldata?:string
path?
optionalpath?:string
Inherited from
h?
optionalh?:Coord
Defined in: src/types/core.ts:49
Height
- inches or percentage
Examples
ts
10.25 // height in inchests
'75%' // height as percentage of slide sizeInherited from
objectName?
optionalobjectName?:string
Defined in: src/types/zoom.ts:20
Object name (PowerPoint selection-pane label). Auto-named (e.g. Slide Zoom 3) when omitted.
Inherited from
returnToParent?
optionalreturnToParent?:boolean
Defined in: src/types/zoom.ts:30
After the zoom animates to its target, return to this (parent) slide when the target's content finishes. Maps to zmPr@returnToParent. Default false.
Inherited from
target
target:
number|Slide
Defined in: src/types/zoom.ts:38
Target slide — a Slide returned by addSlide(), or its 1-based slide number.
transitionDur?
optionaltransitionDur?:number
Defined in: src/types/zoom.ts:32
Zoom transition duration in milliseconds (zmPr@transitionDur). Default 1000.
Inherited from
w?
optionalw?:Coord
Defined in: src/types/core.ts:56
Width
- inches or percentage
Examples
ts
10.25 // width in inchests
'75%' // width as percentage of slide sizeInherited from
x?
optionalx?:Coord
Defined in: src/types/core.ts:35
Horizontal position
- inches or percentage
Examples
ts
10.25 // position in inchests
'75%' // position as percentage of slide sizeInherited from
y?
optionaly?:Coord
Defined in: src/types/core.ts:42
Vertical position
- inches or percentage
Examples
ts
10.25 // position in inchests
'75%' // position as percentage of slide size