Appearance
@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?
optionalbold?:boolean
Defined in: src/types/text.ts:556
Inherited from
charSpacing?
optionalcharSpacing?:number
Defined in: src/types/text.ts:559
Character spacing in points.
Inherited from
MeasureTextOptions.charSpacing
fontFace?
optionalfontFace?: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
fontSize
fontSize:
number
Defined in: src/types/text.ts:553
Font size in points.
Inherited from
hIn
hIn:
number
Defined in: src/types/text.ts:610
Box inner height in inches to test for overflow.
insetIn?
optionalinsetIn?: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
italic?
optionalitalic?:boolean
Defined in: src/types/text.ts:557
Inherited from
lineSpacing?
optionallineSpacing?:number
Defined in: src/types/text.ts:561
Exact line spacing in points (overrides lineSpacingMultiple).
Inherited from
MeasureTextOptions.lineSpacing
lineSpacingMultiple?
optionallineSpacingMultiple?:number
Defined in: src/types/text.ts:563
Line spacing as a multiple of single (e.g. 1.5).
Inherited from
MeasureTextOptions.lineSpacingMultiple
paraSpaceAfter?
optionalparaSpaceAfter?:number
Defined in: src/types/text.ts:567
Space after each paragraph, in points.
Inherited from
MeasureTextOptions.paraSpaceAfter
paraSpaceBefore?
optionalparaSpaceBefore?: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).