Appearance
Interface: SectionZoomProps ​
Section Zoom: a tile that zooms to the start of a named section.
Extends ​
Properties ​
coverImage? ​
optionalcoverImage?:object
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
Height
- inches or percentage
Examples ​
ts
10.25 // height in inchests
'75%' // height as percentage of slide sizeInherited from ​
objectLock? ​
optionalobjectLock?:ObjectLockProps
Object lock flags (ObjectLockProps), as objectLock on every other object type.
A zoom is a p:graphicFrame, so these land on its a:graphicFrameLocks and the flags that apply are the graphic-frame ones (noGrp, noDrilldown, noSelect, noChangeAspect, noMove, noResize); a picture-only flag warns and is dropped, as everywhere else. The mc:Fallback picture keeps its own fixed lock set — it is what pre-2016 consumers draw, and folding a graphic-frame flag set onto a a:picLocks element would warn about every flag the two element types do not share.
noChangeAspect is on by default (a zoom tile mirrors its target slide's aspect); pass it false to lift it.
Example ​
ts
{ noMove: true, noResize: true } // pin the tile in placeInherited from ​
objectName? ​
optionalobjectName?:string
Object name (PowerPoint selection-pane label). Auto-named (e.g. Slide Zoom 3) when omitted.
Inherited from ​
returnToParent? ​
optionalreturnToParent?:boolean
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 ​
sectionTitle ​
sectionTitle:
string
Title of the target section (as passed to addSection({ title })).
transitionDur? ​
optionaltransitionDur?:number
Zoom transition duration in milliseconds (zmPr@transitionDur). Default 1000.
Inherited from ​
w? ​
optionalw?:Coord
Width
- inches or percentage
Examples ​
ts
10.25 // width in inchests
'75%' // width as percentage of slide sizeInherited from ​
x? ​
optionalx?:Coord
Horizontal position
- inches or percentage
Examples ​
ts
10.25 // position in inchests
'75%' // position as percentage of slide sizeInherited from ​
y? ​
optionaly?:Coord
Vertical position
- inches or percentage
Examples ​
ts
10.25 // position in inchests
'75%' // position as percentage of slide size