Cloud Document AI v1 API - Class Document.Types.Page.Types.Layout (3.12.0)

public sealed class Document.Types.Page.Types.Layout : IMessage<Document.Types.Page.Types.Layout>, IEquatable<Document.Types.Page.Types.Layout>, IDeepCloneable<Document.Types.Page.Types.Layout>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.Page.Types.Layout.

Visual element describing a layout unit on a page.

Inheritance

object > Document.Types.Page.Types.Layout

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

Layout()

public Layout()

Layout(Layout)

public Layout(Document.Types.Page.Types.Layout other)
Parameter
NameDescription
otherDocumentTypesPageTypesLayout

Properties

BoundingPoly

public BoundingPoly BoundingPoly { get; set; }

The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].

Property Value
TypeDescription
BoundingPoly

Confidence

public float Confidence { get; set; }

Confidence of the current [Layout][google.cloud.documentai.v1.Document.Page.Layout] within context of the object this layout is for. e.g. confidence can be for a single token, a table, a visual element, etc. depending on context. Range [0, 1].

Property Value
TypeDescription
float

Orientation

public Document.Types.Page.Types.Layout.Types.Orientation Orientation { get; set; }

Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].

Property Value
TypeDescription
DocumentTypesPageTypesLayoutTypesOrientation

TextAnchor

public Document.Types.TextAnchor TextAnchor { get; set; }

Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].

Property Value
TypeDescription
DocumentTypesTextAnchor