Edit

Excel.CellPropertiesFont interface

Represents the format.font properties of getCellProperties, getRowProperties, and getColumnProperties, or the format.font input parameter of setCellProperties, setRowProperties, and setColumnProperties.

Remarks

[Api set: ExcelApi 1.9]

Properties

bold

Represents the format.font.bold property.

color

Represents the format.font.color property.

italic

Represents the format.font.italic property.

name

Represents the format.font.name property.

size

Represents the format.font.size property.

strikethrough

Represents the format.font.strikethrough property.

subscript

Represents the format.font.subscript property.

superscript

Represents the format.font.superscript property.

tintAndShade

Represents the format.font.tintAndShade property.

underline

Represents the format.font.underline property.

Property Details

bold

Represents the format.font.bold property.

bold?: boolean;

Property Value

boolean

Remarks

[Api set: ExcelApi 1.9]

color

Represents the format.font.color property.

color?: string;

Property Value

string

Remarks

[Api set: ExcelApi 1.9]

italic

Represents the format.font.italic property.

italic?: boolean;

Property Value

boolean

Remarks

[Api set: ExcelApi 1.9]

name

Represents the format.font.name property.

name?: string;

Property Value

string

Remarks

[Api set: ExcelApi 1.9]

size

Represents the format.font.size property.

size?: number;

Property Value

number

Remarks

[Api set: ExcelApi 1.9]

strikethrough

Represents the format.font.strikethrough property.

strikethrough?: boolean;

Property Value

boolean

Remarks

[Api set: ExcelApi 1.9]

subscript

Represents the format.font.subscript property.

subscript?: boolean;

Property Value

boolean

Remarks

[Api set: ExcelApi 1.9]

superscript

Represents the format.font.superscript property.

superscript?: boolean;

Property Value

boolean

Remarks

[Api set: ExcelApi 1.9]

tintAndShade

Represents the format.font.tintAndShade property.

tintAndShade?: number;

Property Value

number

Remarks

[Api set: ExcelApi 1.9]

underline

Represents the format.font.underline property.

underline?: Excel.RangeUnderlineStyle | "None" | "Single" | "Double" | "SingleAccountant" | "DoubleAccountant";

Property Value

Excel.RangeUnderlineStyle | "None" | "Single" | "Double" | "SingleAccountant" | "DoubleAccountant"

Remarks

[Api set: ExcelApi 1.9]