public sealed class Document.Types.PageAnchor : IMessage<Document.Types.PageAnchor>, IEquatable<Document.Types.PageAnchor>, IDeepCloneable<Document.Types.PageAnchor>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.PageAnchor.
Referencing the visual context of the entity in the
[Document.pages][google.cloud.documentai.v1.Document.pages]. Page anchors
can be cross-page, consist of multiple bounding polygons and optionally
reference specific layout element types.
[[["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-19 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eDocument.Types.PageAnchor\u003c/code\u003e class in the Google Cloud Document AI v1 API, with version information ranging from 1.0.0 to the latest 3.19.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDocument.Types.PageAnchor\u003c/code\u003e is used to reference the visual context of entities within a document, specifically within the \u003ccode\u003eDocument.pages\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePageAnchor\u003c/code\u003e class can reference elements across multiple pages and consist of multiple bounding polygons, as well as optionally refer to specific layout element types.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003ePageAnchor\u003c/code\u003e implements multiple 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\u003e\u003ccode\u003ePageAnchor\u003c/code\u003e objects can be created using a default constructor or one that accepts another \u003ccode\u003eDocument.Types.PageAnchor\u003c/code\u003e object, and they feature a \u003ccode\u003ePageRefs\u003c/code\u003e property that is a \u003ccode\u003eRepeatedField\u003c/code\u003e which contains one or more references to visual page elements.\u003c/p\u003e\n"]]],[],null,[]]