Class Document.Types.Style.Types.FontSize (1.0.0)

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.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

FontSize()

public FontSize()

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

public FontSize(Document.Types.Style.Types.FontSize other)
Parameter
NameDescription
otherDocument.Types.Style.Types.FontSize

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