ConditionalRangeFont Object (JavaScript API for Excel)

This object represents the font attributes (font style,, color, etc.) for an object.

Properties

Property Type Description Req. Set
bold bool Represents the bold status of font. 1.6
color string HTML color code representation of the text color. E.g. #FF0000 represents Red. 1.6
italic bool Represents the italic status of the font. 1.6
strikethrough bool Represents the strikethrough status of the font. 1.6
underline string Type of underline applied to the font. Possible values are: None, Single, Double. 1.6

See property access examples.

Relationships

None

Methods

Method Return Type Description Req. Set
clear() void Resets the font formats. 1.6

Method Details

clear()

Resets the font formats.

Syntax

conditionalRangeFontObject.clear();

Parameters

None

Returns

void