Skip to content

Interface: FitBox ​

Inner box (shape minus insets) the text must fit, in points.

Properties ​

innerHeightPt ​

innerHeightPt: number


innerWidthPt ​

innerWidthPt: number


wrap? ​

optional wrap?: boolean

false when the frame does not wrap (wrap:false / wrap="none"): text lays out as one line per paragraph (no width-wrapping), and the shrink solver must additionally keep the widest line within innerWidthPt. A too-wide line overflows HORIZONTALLY — normAutofit's vertical shrink never catches it, so without this check a non-wrapping line is never shrunk and spills out of the box in PowerPoint. Defaults to wrapping (true), so table cells and measureText are unaffected.