public sealed class Layout : IMessage<Document.Types.Layout>, IEquatable<Document.Types.Layout>, IDeepCloneable<Document.Types.Layout>, IBufferMessage, IMessage
Describes the layout information of a [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the document.
The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
Contains exactly 4
[normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
and they are connected by edges in the order provided, which will
represent a rectangle parallel to the frame. The
[NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
relative to the page.
Coordinates are based on top-left as point (0,0).
[[["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\u003eThis webpage details the \u003ccode\u003eDocument.Types.Layout\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.AutoML.V1\u003c/code\u003e namespace, which is used to define the layout information of a text segment within a document.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLayout\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in data management and manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLayout\u003c/code\u003e class offers two constructors: a default constructor (\u003ccode\u003eLayout()\u003c/code\u003e) and a copy constructor (\u003ccode\u003eLayout(Document.Types.Layout other)\u003c/code\u003e) for creating new instances.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eLayout\u003c/code\u003e class include \u003ccode\u003eBoundingPoly\u003c/code\u003e, \u003ccode\u003ePageNumber\u003c/code\u003e, \u003ccode\u003eTextSegment\u003c/code\u003e, and \u003ccode\u003eTextSegmentType\u003c/code\u003e, which are used to define the position, page number, content and type of text segments within a document.\u003c/p\u003e\n"],["\u003cp\u003eThe document presents versions of the \u003ccode\u003eDocument.Types.Layout\u003c/code\u003e, starting from version 2.2.0 up to the latest version 3.4.0, highlighting the ongoing development and updates.\u003c/p\u003e\n"]]],[],null,[]]