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 v1beta3 API class Document.Types.Page.Types.Layout.
Visual element describing a layout unit on a page.
Confidence of the current
[Layout][google.cloud.documentai.v1beta3.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].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDocument.Types.Page.Types.Layout\u003c/code\u003e class in the Cloud Document AI v1beta3 API represents a visual element's layout unit on a page.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eBoundingPoly\u003c/code\u003e for the layout's bounding polygon, \u003ccode\u003eConfidence\u003c/code\u003e representing the confidence level of the layout, \u003ccode\u003eOrientation\u003c/code\u003e for the detected orientation, and \u003ccode\u003eTextAnchor\u003c/code\u003e for indexing into the document's text.\u003c/p\u003e\n"],["\u003cp\u003eThe class has available constructors for creating a new \u003ccode\u003eLayout\u003c/code\u003e object, either as an empty instance or as a copy of another \u003ccode\u003eLayout\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides links to different versions of the class, including the latest beta version 2.0.0-beta23, along with beta versions 2.0.0-beta22, and 1.0.0-beta04.\u003c/p\u003e\n"]]],[],null,["# Cloud Document AI v1beta3 API - Class Document.Types.Page.Types.Layout (2.0.0-beta26)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta26 (latest)](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Page.Types.Layout)\n- [2.0.0-beta25](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/2.0.0-beta25/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Page.Types.Layout)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/1.0.0-beta04/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Page.Types.Layout) \n\n public sealed class Document.Types.Page.Types.Layout : IMessage\u003cDocument.Types.Page.Types.Layout\u003e, IEquatable\u003cDocument.Types.Page.Types.Layout\u003e, IDeepCloneable\u003cDocument.Types.Page.Types.Layout\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Document AI v1beta3 API class Document.Types.Page.Types.Layout.\n\nVisual element describing a layout unit on a page. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Document.Types.Page.Types.Layout \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Document](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types)[Page](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Page)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Page.Types)[Layout](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Page.Types.Layout), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Document](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types)[Page](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Page)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Page.Types)[Layout](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Page.Types.Layout), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Document](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types)[Page](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Page)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Page.Types)[Layout](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Document.Types.Page.Types.Layout), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DocumentAI.V1Beta3](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.DocumentAI.V1Beta3.dll\n\nConstructors\n------------\n\n### Layout()\n\n public Layout()\n\n### Layout(Layout)\n\n public Layout(Document.Types.Page.Types.Layout other)\n\nProperties\n----------\n\n### BoundingPoly\n\n public BoundingPoly BoundingPoly { get; set; }\n\nThe bounding polygon for the\n\\[Layout\\]\\[google.cloud.documentai.v1beta3.Document.Page.Layout\\].\n\n### Confidence\n\n public float Confidence { get; set; }\n\nConfidence of the current\n\\[Layout\\]\\[google.cloud.documentai.v1beta3.Document.Page.Layout\\] within\ncontext of the object this layout is for. e.g. confidence can be for a\nsingle token, a table, a visual element, etc. depending on context.\nRange `[0, 1]`.\n\n### Orientation\n\n public Document.Types.Page.Types.Layout.Types.Orientation Orientation { get; set; }\n\nDetected orientation for the\n\\[Layout\\]\\[google.cloud.documentai.v1beta3.Document.Page.Layout\\].\n\n### TextAnchor\n\n public Document.Types.TextAnchor TextAnchor { get; set; }\n\nText anchor indexing into the\n\\[Document.text\\]\\[google.cloud.documentai.v1beta3.Document.text\\]."]]