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
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class TextFormat : IDirectResponseSchema
Properties
Bold
True if the text is bold.
Declaration
[JsonProperty("bold")]
public virtual 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
[JsonProperty("fontFamily")]
public virtual string FontFamily { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FontSize
The size of the font.
Declaration
[JsonProperty("fontSize")]
public virtual int? FontSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
ForegroundColor
The foreground color of the text.
Declaration
[JsonProperty("foregroundColor")]
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
[JsonProperty("foregroundColorStyle")]
public virtual ColorStyle ForegroundColorStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| ColorStyle |
Italic
True if the text is italicized.
Declaration
[JsonProperty("italic")]
public virtual bool? Italic { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Strikethrough
True if the text has a strikethrough.
Declaration
[JsonProperty("strikethrough")]
public virtual bool? Strikethrough { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Underline
True if the text is underlined.
Declaration
[JsonProperty("underline")]
public virtual bool? Underline { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Implements
Google.Apis.Requests.IDirectResponseSchema