QScript FontSettings

From Q
Jump to navigation Jump to search

FontSettings

Font settings for an analysis item or a range of table cells. Editing a supported property updates the item or range.

bold

Gets or sets whether the font is bold

color

Gets or sets the font color (e.g., '#FF0000', 'rgb(0, 0, 0)', 'rgb(0 0 0)', or 'rgba(0, 0, 0, 0.1)')

family

Gets or sets the font family (e.g., 'Arial', 'Times New Roman')

isMixed

Returns true when these settings represent a range of cells, and any font property differs across the range. Each differing property reads as null. Always false for an analysis item.

italic

Gets or sets whether the font is italic

size

Gets or sets the font size

strikeout

Gets or sets whether the font has strikethrough

type

Returns 'FontSettings'.

underline

Gets or sets whether the font is underlined