Google Sheets · Schema
TextFormat
The format of a run of text in a cell.
Google WorkspaceProductivitySpreadsheets
Properties
| Name | Type | Description |
|---|---|---|
| fontFamily | string | The font family. |
| fontSize | integer | The size of the font. |
| bold | boolean | True if the text is bold. |
| italic | boolean | True if the text is italicized. |
| strikethrough | boolean | True if the text has a strikethrough. |
| underline | boolean | True if the text is underlined. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "TextFormat",
"type": "object",
"description": "The format of a run of text in a cell.",
"properties": {
"fontFamily": {
"type": "string",
"description": "The font family."
},
"fontSize": {
"type": "integer",
"description": "The size of the font."
},
"bold": {
"type": "boolean",
"description": "True if the text is bold."
},
"italic": {
"type": "boolean",
"description": "True if the text is italicized."
},
"strikethrough": {
"type": "boolean",
"description": "True if the text has a strikethrough."
},
"underline": {
"type": "boolean",
"description": "True if the text is underlined."
}
}
}