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.
Implements
IMessage<Document.Types.Page.Types.Layout>, IEquatable<Document.Types.Page.Types.Layout>, IDeepCloneable<Document.Types.Page.Types.Layout>, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
Layout()
public Layout()
Layout(Document.Types.Page.Types.Layout)
public Layout(Document.Types.Page.Types.Layout other)
Parameter | |
---|---|
Name | Description |
other | Document.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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Document.Types.TextAnchor |