[]
        
(Showing Draft Content)

IWorkbookFont Interface

IWorkbookFont Interface

Represents the Workbook Object Model font definition.

Heirarchy

  • IWorkbookFont

Implemented by

Properties

Optional bold

bold: boolean

Gets or sets a value indicating whether this font is bold.

Optional color

color: string

Gets or sets the font color.

For export, the color can be specified in any valid HTML format like 6-character dash notation or rgb/rgba/hsl/hsla functional form. In case of rgba/hsla representations, specified alpha channel value is ignored.

For import, a value is always represented in the HTML 6-character dash notation, for example, "#afbfcf".

Optional family

family: string

Gets or sets the font family name.

Optional italic

italic: boolean

Gets or sets a value indicating whether this font has the italic style applied.

Optional size

size: number

Gets or sets the font size in device-independent (1/96th inch) pixels.

Optional underline

underline: boolean

Gets or sets a value indicating whether this font is underlined.