ASP.NET Core MVC Controls | ComponentOne
In This Topic
    WorkbookFont Class
    In This Topic
    File
    wijmo.xlsx.js
    Module
    wijmo.xlsx
    Implements
    IWorkbookFont

    Represents the Workbook Object Model font definition.

    Constructor

    Properties

    Constructor

    constructor

    constructor(): void
    

    Initializes a new instance of the WorkbookFont class.

    Returns
    void

    Properties

    bold

    Indicates whether the current font is bold.

    Type
    boolean

    color

    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".

    Type
    string

    family

    Gets or sets the font family name.

    Type
    string

    italic

    Indicates whether the current font has the italic style applied.

    Type
    boolean

    size

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

    Type
    number

    underline

    Indicates whether the current font is underlined.

    Type
    boolean