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 Read the properties and relationships of a workbookRangeFont object.
Update workbookRangeFont Update a workbookRangeFont object

Properties

Property Type Description
bold Boolean Inidicates whether the font is bold.
color string The HTML color code representation of the text color. For example, #FF0000 represents the color red.
italic Boolean Inidicates whether the font is italic.
name string The font name. For example, "Calibri".
size double The font size.
underline string The type of underlining 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"
}