Skip to content

@shbernal/ts-pptx


@shbernal/ts-pptx / index / OverflowBoxOptions

Interface: OverflowBoxOptions

Defined in: src/types/text.ts:608

Options for TsPptx.overflowsBox: a measure plus the box inner height to test against.

Extends

Properties

bold?

optional bold?: boolean

Defined in: src/types/text.ts:556

Inherited from

MeasureTextOptions.bold


charSpacing?

optional charSpacing?: number

Defined in: src/types/text.ts:559

Character spacing in points.

Inherited from

MeasureTextOptions.charSpacing


fontFace?

optional fontFace?: string

Defined in: src/types/text.ts:555

Font family name, as used in fontFace. Required for an exact measure; an unnamed face is unmeasurable.

Inherited from

MeasureTextOptions.fontFace


fontSize

fontSize: number

Defined in: src/types/text.ts:553

Font size in points.

Inherited from

MeasureTextOptions.fontSize


hIn

hIn: number

Defined in: src/types/text.ts:610

Box inner height in inches to test for overflow.


insetIn?

optional insetIn?: number

Defined in: src/types/text.ts:569

L/R text inset in inches; when set, subtracted from wIn on both sides (pass a raw box width).

Inherited from

MeasureTextOptions.insetIn


italic?

optional italic?: boolean

Defined in: src/types/text.ts:557

Inherited from

MeasureTextOptions.italic


lineSpacing?

optional lineSpacing?: number

Defined in: src/types/text.ts:561

Exact line spacing in points (overrides lineSpacingMultiple).

Inherited from

MeasureTextOptions.lineSpacing


lineSpacingMultiple?

optional lineSpacingMultiple?: number

Defined in: src/types/text.ts:563

Line spacing as a multiple of single (e.g. 1.5).

Inherited from

MeasureTextOptions.lineSpacingMultiple


paraSpaceAfter?

optional paraSpaceAfter?: number

Defined in: src/types/text.ts:567

Space after each paragraph, in points.

Inherited from

MeasureTextOptions.paraSpaceAfter


paraSpaceBefore?

optional paraSpaceBefore?: number

Defined in: src/types/text.ts:565

Space before each paragraph, in points.

Inherited from

MeasureTextOptions.paraSpaceBefore


wIn

wIn: number

Defined in: src/types/text.ts:551

Available text width in inches (the box width minus L/R inset, unless insetIn is given).

Inherited from

MeasureTextOptions.wIn