Skip to content

Type Alias: AutofitMode ​

AutofitMode = "none" | "normAutofit" | "spAutoFit"

A text frame's vertical-autofit mode, read from its a:bodyPr autofit child:

  • 'none' — a:noAutofit, or no autofit child at all (the box has a fixed size and text can overflow); write-side fit: 'none'.
  • 'normAutofit'— a:normAutofit (shrink text to fit); write-side fit: 'shrink'.
  • 'spAutoFit' — a:spAutoFit (resize the shape to fit text); write-side fit: 'resize'.