| title | workbookRangeFont resource type |
|---|---|
| description | This object represents the font attributes (font name, font size, color, etc.) for an object. |
| ms.localizationpriority | medium |
| author | lumine2008 |
| ms.subservice | excel |
| doc_type | resourcePageType |
| ms.date | 08/01/2024 |
Namespace: microsoft.graph
This object represents the font attributes (font name, font size, color, etc.) for an object.
| Method | Return Type | Description |
|---|---|---|
| Get | workbookRangeFont | Read the properties and relationships of a workbookRangeFont object. |
| Update | workbookRangeFont | Update a workbookRangeFont object |
| 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. |
None
The following JSON representation shows the resource type.
{
"bold": true,
"color": "string",
"italic": true,
"name": "string",
"size": 1024,
"underline": "string"
}