Excel.Interfaces.ChartFontData interface

Warning

This API is now deprecated.

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

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

Warning

This API is now deprecated.

Represents the bold status of font.

bold?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]

color

Warning

This API is now deprecated.

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

Warning

This API is now deprecated.

Represents the italic status of the font.

italic?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]

name

Warning

This API is now deprecated.

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

name?: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.1 ]

size

Warning

This API is now deprecated.

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

size?: number;

Property Value

number

Remarks

[ API set: ExcelApi 1.1 ]

underline

Warning

This API is now deprecated.

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 ]