Cloud Document AI v1 API - Class Document.Types.Style.Types.FontSize (3.11.0)

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.

Inheritance

object > Document.Types.Style.Types.FontSize

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

FontSize()

public FontSize()

FontSize(FontSize)

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

Properties

Size

public float Size { get; set; }

Font size for the text.

Property Value
TypeDescription
float

Unit

public string Unit { get; set; }

Unit for the font size. Follows CSS naming (such as in, px, and pt).

Property Value
TypeDescription
string