Cloud Document AI v1 API - Class Document.Types.Style.Types.FontSize (3.6.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

Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.Style.Types.FontSize.

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