Edit

Share via


Excel.Interfaces.ChartFontData interface

An interface describing the data returned by calling chartFont.toJSON().

Remarks

Used by

Properties

bold

Represents the bold status of font.

color

HTML color code representation of the text color (e.g., #FF0000 represents Red).

italic

Represents the italic status of the font.

name

Font name (e.g., "Calibri")

size

Size of the font (e.g., 11)

underline

Type of underline applied to the font. See Excel.ChartUnderlineStyle for details.

Property Details

bold

Represents the bold status of font.

bold?: boolean;

Property Value

boolean

Remarks

API set: ExcelApi 1.1

color

HTML color code representation of the text color (e.g., #FF0000 represents Red).

color?: string;

Property Value

string

Remarks

API set: ExcelApi 1.1

italic

Represents the italic status of the font.

italic?: boolean;

Property Value

boolean

Remarks

API set: ExcelApi 1.1

name

Font name (e.g., "Calibri")

name?: string;

Property Value

string

Remarks

API set: ExcelApi 1.1

size

Size of the font (e.g., 11)

size?: number;

Property Value

number

Remarks

API set: ExcelApi 1.1

underline

Type of underline applied to the font. See Excel.ChartUnderlineStyle for details.

underline?: Excel.ChartUnderlineStyle | "None" | "Single";

Property Value

Excel.ChartUnderlineStyle | "None" | "Single"

Remarks

API set: ExcelApi 1.1