Controls the formatting of a range of characters in a [[formattedString]].

FormattedStringFont

new FormattedStringFont(a: FormattedString, b: number, c: number): FormattedStringFont

Returns FormattedStringFont

$t: Type

Inherited from: FormattedFontBase

bold: boolean

Inherited from: FormattedFontBase

colorInfo: WorkbookColorInfo

Inherited from: FormattedFontBase

height: number

Inherited from: FormattedFontBase

italic: boolean

Inherited from: FormattedFontBase

name: string

Inherited from: FormattedFontBase

strikeout: boolean

Inherited from: FormattedFontBase

superscriptSubscriptStyle: FontSuperscriptSubscriptStyle

Inherited from: FormattedFontBase

underlineStyle: FontUnderlineStyle

Gets the formatted string which is controlled by this font. The formatted string which is controlled by this font.

get formattedString(): FormattedString

Returns FormattedString

Inherited from: FormattedFontBase

Gets the number of characters covered by this font. Zero indicates the font controls from the [[startIndex]] to the end of the string. The number of characters covered by this font. Zero indicates the font controls from the StartIndex to the end of the string.

get length(): number

Returns number

Inherited from: FormattedFontBase

Gets the index of the first character covered by this font. The index of the first character covered by this font.

get startIndex(): number

Returns number

Inherited from: FormattedFontBase

Sets all properties of this font to the properties of the specified font.

setFontFormatting(source: IWorkbookFont): void

Parameters

  • source: IWorkbookFont

    The font whose properties should be copied over to this font.

Returns void