Skip to content

Interface: TextFitShrinkProps ​

Properties ​

fontScale? ​

optional fontScale?: number

Font scale as a percent (0-100), mapped to <a:normAutofit fontScale="..">.

PowerPoint normally calculates this dynamically when text overflows; set it explicitly to bake the scale into the generated file.

Example ​

ts
85 // render text at 85% of its nominal size

Default ​

ts
undefined // attribute omitted (PowerPoint defaults to 100%)

lnSpcReduction? ​

optional lnSpcReduction?: number

Line-space reduction as a percent (0-100), mapped to <a:normAutofit lnSpcReduction="..">.

Example ​

ts
20 // reduce line spacing by 20%

Default ​

ts
undefined // attribute omitted (PowerPoint defaults to 0%)

type ​

type: "shrink"

Shrink text on overflow (<a:normAutofit>)