Skip to content

@shbernal/pptxgenjs


@shbernal/pptxgenjs / index / OverflowBoxOptions

Interface: OverflowBoxOptions

Defined in: core-interfaces.ts:2075

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

Extends

Properties

bold?

optional bold?: boolean

Defined in: core-interfaces.ts:2023

Inherited from

MeasureTextOptions.bold


charSpacing?

optional charSpacing?: number

Defined in: core-interfaces.ts:2026

Character spacing in points.

Inherited from

MeasureTextOptions.charSpacing


fontFace?

optional fontFace?: string

Defined in: core-interfaces.ts:2022

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: core-interfaces.ts:2020

Font size in points.

Inherited from

MeasureTextOptions.fontSize


hIn

hIn: number

Defined in: core-interfaces.ts:2077

Box inner height in inches to test for overflow.


insetIn?

optional insetIn?: number

Defined in: core-interfaces.ts:2036

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: core-interfaces.ts:2024

Inherited from

MeasureTextOptions.italic


lineSpacing?

optional lineSpacing?: number

Defined in: core-interfaces.ts:2028

Exact line spacing in points (overrides lineSpacingMultiple).

Inherited from

MeasureTextOptions.lineSpacing


lineSpacingMultiple?

optional lineSpacingMultiple?: number

Defined in: core-interfaces.ts:2030

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

Inherited from

MeasureTextOptions.lineSpacingMultiple


paraSpaceAfter?

optional paraSpaceAfter?: number

Defined in: core-interfaces.ts:2034

Space after each paragraph, in points.

Inherited from

MeasureTextOptions.paraSpaceAfter


paraSpaceBefore?

optional paraSpaceBefore?: number

Defined in: core-interfaces.ts:2032

Space before each paragraph, in points.

Inherited from

MeasureTextOptions.paraSpaceBefore


wIn

wIn: number

Defined in: core-interfaces.ts:2018

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

Inherited from

MeasureTextOptions.wIn