Class Document.Types.Style.Types.FontSize
Font size with unit.
Inheritance
System.Object
Document.Types.Style.Types.FontSize
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.DocumentAI.V1Beta2
Assembly: Google.Cloud.DocumentAI.V1Beta2.dll
Syntax
public sealed class FontSize : IMessage<Document.Types.Style.Types.FontSize>, IEquatable<Document.Types.Style.Types.FontSize>, IDeepCloneable<Document.Types.Style.Types.FontSize>, IBufferMessage, IMessage
Constructors
FontSize()
Declaration
public FontSize()
FontSize(Document.Types.Style.Types.FontSize)
Declaration
public FontSize(Document.Types.Style.Types.FontSize other)
Parameters
| Type | Name | Description |
|---|---|---|
| Document.Types.Style.Types.FontSize | other |
Properties
Size
Font size for the text.
Declaration
public float Size { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Unit
Unit for the font size. Follows CSS naming (in, px, pt, etc.).
Declaration
public string Unit { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |