public sealed class PageRef : IMessage<Document.Types.PageAnchor.Types.PageRef>, IEquatable<Document.Types.PageAnchor.Types.PageRef>, IDeepCloneable<Document.Types.PageAnchor.Types.PageRef>, IBufferMessage, IMessage
Represents a weak reference to a page element within a document.
Required. Index into the [Document.pages][google.cloud.documentai.v1.Document.pages] element, for example using
[Document.pages][page_refs.page] to locate the related page element.
[[["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 document details the \u003ccode\u003ePageRef\u003c/code\u003e class, which serves as a weak reference to a page element within a document in the Google Cloud Document AI V1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003ePageRef\u003c/code\u003e API is 3.19.0, and the page offers documentation for versions ranging from 1.0.0 to 3.19.0, with each version containing its own respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePageRef\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, and inherits from the \u003ccode\u003eObject\u003c/code\u003e class, providing methods and properties for referencing document pages.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003ePageRef\u003c/code\u003e include \u003ccode\u003eBoundingPoly\u003c/code\u003e for the layout element's polygon, \u003ccode\u003eConfidence\u003c/code\u003e for element detection certainty, \u003ccode\u003eLayoutType\u003c/code\u003e for element type, and \u003ccode\u003ePage\u003c/code\u003e for the index of the related page in the document.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLayoutId\u003c/code\u003e property within \u003ccode\u003ePageRef\u003c/code\u003e is now obsolete and should be replaced with the \u003ccode\u003eBoundingPoly\u003c/code\u003e property, per the updated documentation guidelines.\u003c/p\u003e\n"]]],[],null,[]]