Class TextFormat
The format of a run of text in a cell. Absent values indicate that the field isn't specified.
Inheritance
System.Object
TextFormat
Implements
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class TextFormat : object, IDirectResponseSchema
Properties
Bold
True if the text is bold.
Declaration
public virtual Nullable<bool> Bold { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FontFamily
The font family.
Declaration
public virtual string FontFamily { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FontSize
The size of the font.
Declaration
public virtual Nullable<int> FontSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
ForegroundColor
The foreground color of the text.
Declaration
public virtual Color ForegroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
ForegroundColorStyle
The foreground color of the text. If foreground_color is also set, this field takes precedence.
Declaration
public virtual ColorStyle ForegroundColorStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| ColorStyle |
Italic
True if the text is italicized.
Declaration
public virtual Nullable<bool> Italic { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Strikethrough
True if the text has a strikethrough.
Declaration
public virtual Nullable<bool> Strikethrough { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Underline
True if the text is underlined.
Declaration
public virtual Nullable<bool> Underline { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |