Edit

Share via


Excel.Interfaces.ChartFontLoadOptions interface

This object represents the font attributes (such as font name, font size, and color) for a chart object.

Remarks

[ API set: ExcelApi 1.1 ]

Properties

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

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

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

TypeScript
$all?: boolean;

Property Value

boolean

bold

Represents the bold status of font.

TypeScript
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).

TypeScript
color?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]

italic

Represents the italic status of the font.

TypeScript
italic?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]

name

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

TypeScript
name?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]

size

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

TypeScript
size?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]

underline

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

TypeScript
underline?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]