Skip to content

@shbernal/ts-pptx


@shbernal/ts-pptx / index / SectionZoomProps

Interface: SectionZoomProps

Defined in: src/types/zoom.ts:42

Section Zoom: a tile that zooms to the start of a named section.

Extends

Properties

coverImage?

optional coverImage?: 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?

optional data?: string

path?

optional path?: string

Inherited from

ZoomBaseProps.coverImage


h?

optional h?: Coord

Defined in: src/types/core.ts:49

Height

  • inches or percentage

Examples

ts
10.25 // height in inches
ts
'75%' // height as percentage of slide size

Inherited from

ZoomBaseProps.h


objectName?

optional objectName?: 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

ZoomBaseProps.objectName


returnToParent?

optional returnToParent?: 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

ZoomBaseProps.returnToParent


sectionTitle

sectionTitle: string

Defined in: src/types/zoom.ts:44

Title of the target section (as passed to addSection({ title })).


transitionDur?

optional transitionDur?: number

Defined in: src/types/zoom.ts:32

Zoom transition duration in milliseconds (zmPr@transitionDur). Default 1000.

Inherited from

ZoomBaseProps.transitionDur


w?

optional w?: Coord

Defined in: src/types/core.ts:56

Width

  • inches or percentage

Examples

ts
10.25 // width in inches
ts
'75%' // width as percentage of slide size

Inherited from

ZoomBaseProps.w


x?

optional x?: Coord

Defined in: src/types/core.ts:35

Horizontal position

  • inches or percentage

Examples

ts
10.25 // position in inches
ts
'75%' // position as percentage of slide size

Inherited from

ZoomBaseProps.x


y?

optional y?: Coord

Defined in: src/types/core.ts:42

Vertical position

  • inches or percentage

Examples

ts
10.25 // position in inches
ts
'75%' // position as percentage of slide size

Inherited from

ZoomBaseProps.y