Skip to content

vyaz-monorepo / core/src / AutofitOutcome

Interface: AutofitOutcome ​

Defined in: core/src/layout/TextFrameLayoutEngine.ts:301

Autofit outcome, present on the result when LayoutOptions.autofit was set.

Properties ​

clampedToMin ​

clampedToMin: boolean

Defined in: core/src/layout/TextFrameLayoutEngine.ts:308

True when the min-size floor was hit and content still overflows.


scale ​

scale: number

Defined in: core/src/layout/TextFrameLayoutEngine.ts:306

Proportional font-size scale applied — the scale the returned layout was measured at, on PowerPoint's 1% fontScale grid. 1 = no shrink.

Released under the MIT License.