RangeFont resource type

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

Methods

Method Return Type Description
Get RangeFont WorkbookRangeFont Read properties and relationships of rangeFont object.
Update WorkbookRangeFont Update RangeFont object.

Properties

Property Type Description
bold boolean Represents the bold status of font.
color string HTML color code representation of the text color. E.g. #FF0000 represents Red.
italic boolean Represents the italic status of the font.
name string Font name (e.g. "Calibri")
size double Font size.
underline string Type of underline applied to the font. The possible values are: None, Single, Double, SingleAccountant, DoubleAccountant.

Relationships

None

JSON representation

Here is a JSON representation of the resource.

{
  "bold": true,
  "color": "string",
  "italic": true,
  "name": "string",
  "size": 1024,
  "underline": "string"
}