Class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo
Font and other text style attributes.
Implements
Inherited Members
Namespace: Google.Apis.Document.v1.Data
Assembly: Google.Apis.Document.v1.dll
Syntax
public class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo : IDirectResponseSchema
Properties
BackgroundColor
Color of the background.
Declaration
[JsonProperty("backgroundColor")]
public virtual GoogleTypeColor BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
GoogleTypeColor |
Bold
Whether the text is bold (equivalent to font_weight is at least 700
).
Declaration
[JsonProperty("bold")]
public virtual bool? Bold { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FontSize
Font size in points (1
point is ¹⁄₇₂
inches).
Declaration
[JsonProperty("fontSize")]
public virtual int? FontSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
FontType
Name or style of the font.
Declaration
[JsonProperty("fontType")]
public virtual string FontType { get; set; }
Property Value
Type | Description |
---|---|
string |
FontWeight
TrueType weight on a scale 100
(thin) to 1000
(ultra-heavy). Normal is 400
, bold is 700
.
Declaration
[JsonProperty("fontWeight")]
public virtual int? FontWeight { get; set; }
Property Value
Type | Description |
---|---|
int? |
Handwritten
Whether the text is handwritten.
Declaration
[JsonProperty("handwritten")]
public virtual bool? Handwritten { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Italic
Whether the text is italic.
Declaration
[JsonProperty("italic")]
public virtual bool? Italic { get; set; }
Property Value
Type | Description |
---|---|
bool? |
LetterSpacing
Letter spacing in points.
Declaration
[JsonProperty("letterSpacing")]
public virtual double? LetterSpacing { get; set; }
Property Value
Type | Description |
---|---|
double? |
PixelFontSize
Font size in pixels, equal to unrounded font_size * resolution ÷ 72.0
.
Declaration
[JsonProperty("pixelFontSize")]
public virtual double? PixelFontSize { get; set; }
Property Value
Type | Description |
---|---|
double? |
Smallcaps
Whether the text is in small caps. This feature is not supported yet.
Declaration
[JsonProperty("smallcaps")]
public virtual bool? Smallcaps { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Strikeout
Whether the text is strikethrough. This feature is not supported yet.
Declaration
[JsonProperty("strikeout")]
public virtual bool? Strikeout { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Subscript
Whether the text is a subscript. This feature is not supported yet.
Declaration
[JsonProperty("subscript")]
public virtual bool? Subscript { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Superscript
Whether the text is a superscript. This feature is not supported yet.
Declaration
[JsonProperty("superscript")]
public virtual bool? Superscript { get; set; }
Property Value
Type | Description |
---|---|
bool? |
TextColor
Color of the text.
Declaration
[JsonProperty("textColor")]
public virtual GoogleTypeColor TextColor { get; set; }
Property Value
Type | Description |
---|---|
GoogleTypeColor |
Underlined
Whether the text is underlined.
Declaration
[JsonProperty("underlined")]
public virtual bool? Underlined { get; set; }
Property Value
Type | Description |
---|---|
bool? |