Excel.Interfaces.RangeFontLoadOptions interface
This object represents the font attributes (font name, font size, color, etc.) for an object.
Remarks
Properties
$all | Specifying |
bold | Represents the bold status of the font. |
color | HTML color code representation of the text color (e.g., #FF0000 represents Red). |
italic | Specifies the italic status of the font. |
name | Font name (e.g., "Calibri"). The name's length should not be greater than 31 characters. |
size | Font size. |
underline | Type of underline applied to the font. See |
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
).
$all?: boolean;
Property Value
boolean
bold
Represents the bold status of the font.
bold?: boolean;
Property Value
boolean
Remarks
color
HTML color code representation of the text color (e.g., #FF0000 represents Red).
color?: boolean;
Property Value
boolean
Remarks
italic
Specifies the italic status of the font.
italic?: boolean;
Property Value
boolean
Remarks
name
Font name (e.g., "Calibri"). The name's length should not be greater than 31 characters.
name?: boolean;
Property Value
boolean
Remarks
size
underline
Type of underline applied to the font. See Excel.RangeUnderlineStyle
for details.
underline?: boolean;
Property Value
boolean
Remarks
Office Add-ins