RangeFont resource type

Namespace: microsoft.graph

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. for example #FF0000 represents Red.
italic boolean Represents the italic status of the font.
name string Font name (for example "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

The following JSON representation shows the resource type.

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