workbookRangeFont resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

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

Methods

Method Return Type Description
Get workbookRangeFont 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. 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"
}