Class Document.Types.Style.Types.FontSize

public sealed class FontSize : IMessage<Document.Types.Style.Types.FontSize>, IEquatable<Document.Types.Style.Types.FontSize>, IDeepCloneable<Document.Types.Style.Types.FontSize>, IBufferMessage, IMessage

Font size with unit.

Inheritance

Object > Document.Types.Style.Types.FontSize

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

Constructors

FontSize()

public FontSize()

FontSize(Document.Types.Style.Types.FontSize)

public FontSize(Document.Types.Style.Types.FontSize other)
Parameter
TypeNameDescription
Document.Types.Style.Types.FontSizeother

Properties

Size

public float Size { get; set; }

Font size for the text.

Property Value
TypeDescription
Single

Unit

public string Unit { get; set; }

Unit for the font size. Follows CSS naming (in, px, pt, etc.).

Property Value
TypeDescription
String