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

public sealed class 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(Document.Types.Page.Types.Layout)

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

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
Single

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
Document.Types.Page.Types.Layout.Types.Orientation

TextAnchor

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

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

Property Value
TypeDescription
Document.Types.TextAnchor