Show / Hide Table of Contents

Class Document.Types.Page.Types.Layout

Visual element describing a layout unit on a page.

Inheritance
System.Object
Document.Types.Page.Types.Layout
Implements
IMessage<Document.Types.Page.Types.Layout>
System.IEquatable<Document.Types.Page.Types.Layout>
IDeepCloneable<Document.Types.Page.Types.Layout>
Google.Protobuf.IBufferMessage
IMessage
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.DocumentAI.V1Beta2
Assembly: Google.Cloud.DocumentAI.V1Beta2.dll
Syntax
public sealed class Layout : IMessage<Document.Types.Page.Types.Layout>, IEquatable<Document.Types.Page.Types.Layout>, IDeepCloneable<Document.Types.Page.Types.Layout>, IBufferMessage, IMessage

Constructors

Layout()

Declaration
public Layout()

Layout(Document.Types.Page.Types.Layout)

Declaration
public Layout(Document.Types.Page.Types.Layout other)
Parameters
Type Name Description
Document.Types.Page.Types.Layout other

Properties

BoundingPoly

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

Declaration
public BoundingPoly BoundingPoly { get; set; }
Property Value
Type Description
BoundingPoly

Confidence

Confidence of the current [Layout][google.cloud.documentai.v1beta2.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].

Declaration
public float Confidence { get; set; }
Property Value
Type Description
System.Single

Id

Optional. This is the identifier used by referencing [PageAnchor][google.cloud.documentai.v1beta2.Document.PageAnchor]s.

Declaration
public string Id { get; set; }
Property Value
Type Description
System.String

Orientation

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

Declaration
public Document.Types.Page.Types.Layout.Types.Orientation Orientation { get; set; }
Property Value
Type Description
Document.Types.Page.Types.Layout.Types.Orientation

TextAnchor

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

Declaration
public Document.Types.TextAnchor TextAnchor { get; set; }
Property Value
Type Description
Document.Types.TextAnchor
Back to top