public sealed class Document.Types.Style.Types.FontSize : IMessage<Document.Types.Style.Types.FontSize>, IEquatable<Document.Types.Style.Types.FontSize>, IDeepCloneable<Document.Types.Style.Types.FontSize>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.Style.Types.FontSize.
Font size with unit.
Implements
IMessageDocumentTypesStyleTypesFontSize, IEquatableDocumentTypesStyleTypesFontSize, IDeepCloneableDocumentTypesStyleTypesFontSize, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
FontSize()
public FontSize()
FontSize(FontSize)
public FontSize(Document.Types.Style.Types.FontSize other)
Parameter | |
---|---|
Name | Description |
other | DocumentTypesStyleTypesFontSize |
Properties
Size
public float Size { get; set; }
Font size for the text.
Property Value | |
---|---|
Type | Description |
float |
Unit
public string Unit { get; set; }
Unit for the font size. Follows CSS naming (such as in
, px
, and
pt
).
Property Value | |
---|---|
Type | Description |
string |