public sealed class Document.Types.Page : IMessage<Document.Types.Page>, IEquatable<Document.Types.Page>, IDeepCloneable<Document.Types.Page>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.Page.
A page in a [Document][google.cloud.documentai.v1.Document].
public RepeatedField<Document.Types.Page.Types.Block> Blocks { get; }
A list of visually detected text blocks on the page.
A block has a set of lines (collected into paragraphs) that have a common
line-spacing and orientation.
public Document.Types.Page.Types.Image Image { get; set; }
Rendered image for this page. This image is preprocessed to remove any
skew, rotation, and distortions such that the annotation bounding boxes
can be upright and axis-aligned.
1-based index for current
[Page][google.cloud.documentai.v1.Document.Page] in a parent
[Document][google.cloud.documentai.v1.Document]. Useful when a page is
taken out of a [Document][google.cloud.documentai.v1.Document] for
individual processing.
[[["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 documentation for the \u003ccode\u003eDocument.Types.Page\u003c/code\u003e class within the Google Cloud Document AI v1 API, which represents a page in a document and is implemented as an IMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eDocument.Types.Page\u003c/code\u003e class is 3.19.0, with a comprehensive history of versions available for reference, ranging from the latest down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocument.Types.Page\u003c/code\u003e class includes properties for various elements detected on a page, such as text blocks, lines, paragraphs, form fields, tables, barcodes, and visual elements.\u003c/p\u003e\n"],["\u003cp\u003eThe class also provides information about the page's layout, physical dimensions, image, and detected languages, along with data on image quality and any transformations applied.\u003c/p\u003e\n"],["\u003cp\u003eThe page offers reference documentation and code samples for the class which contains constructor, inherited members, and properties.\u003c/p\u003e\n"]]],[],null,["# Cloud Document AI v1 API - Class Document.Types.Page (3.21.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.21.0 (latest)](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.20.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.19.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.18.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.17.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.16.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.15.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.14.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.13.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.12.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.11.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.10.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.9.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.8.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.7.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.6.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.5.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.4.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.3.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.2.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.1.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/3.0.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/2.0.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.5.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.4.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.3.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.2.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.1.0/Google.Cloud.DocumentAI.V1.Document.Types.Page)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/1.0.0/Google.Cloud.DocumentAI.V1.Document.Types.Page) \n\n public sealed class Document.Types.Page : IMessage\u003cDocument.Types.Page\u003e, IEquatable\u003cDocument.Types.Page\u003e, IDeepCloneable\u003cDocument.Types.Page\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Document AI v1 API class Document.Types.Page.\n\nA page in a \\[Document\\]\\[google.cloud.documentai.v1.Document\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Document.Types.Page \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.V1/latest/Google.Cloud.DocumentAI.V1.Document)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types)[Page](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.Page), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Document](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types)[Page](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.Page), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Document](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types)[Page](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1.Document.Types.Page), [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.V1](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1/latest/Google.Cloud.DocumentAI.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DocumentAI.V1.dll\n\nConstructors\n------------\n\n### Page()\n\n public Page()\n\n### Page(Page)\n\n public Page(Document.Types.Page other)\n\nProperties\n----------\n\n### Blocks\n\n public RepeatedField\u003cDocument.Types.Page.Types.Block\u003e Blocks { get; }\n\nA list of visually detected text blocks on the page.\nA block has a set of lines (collected into paragraphs) that have a common\nline-spacing and orientation.\n\n### DetectedBarcodes\n\n public RepeatedField\u003cDocument.Types.Page.Types.DetectedBarcode\u003e DetectedBarcodes { get; }\n\nA list of detected barcodes.\n\n### DetectedLanguages\n\n public RepeatedField\u003cDocument.Types.Page.Types.DetectedLanguage\u003e DetectedLanguages { get; }\n\nA list of detected languages together with confidence.\n\n### Dimension\n\n public Document.Types.Page.Types.Dimension Dimension { get; set; }\n\nPhysical dimension of the page.\n\n### FormFields\n\n public RepeatedField\u003cDocument.Types.Page.Types.FormField\u003e FormFields { get; }\n\nA list of visually detected form fields on the page.\n\n### Image\n\n public Document.Types.Page.Types.Image Image { get; set; }\n\nRendered image for this page. This image is preprocessed to remove any\nskew, rotation, and distortions such that the annotation bounding boxes\ncan be upright and axis-aligned.\n\n### ImageQualityScores\n\n public Document.Types.Page.Types.ImageQualityScores ImageQualityScores { get; set; }\n\nImage quality scores.\n\n### Layout\n\n public Document.Types.Page.Types.Layout Layout { get; set; }\n\n\\[Layout\\]\\[google.cloud.documentai.v1.Document.Page.Layout\\] for the page.\n\n### Lines\n\n public RepeatedField\u003cDocument.Types.Page.Types.Line\u003e Lines { get; }\n\nA list of visually detected text lines on the page.\nA collection of tokens that a human would perceive as a line.\n\n### PageNumber\n\n public int PageNumber { get; set; }\n\n1-based index for current\n\\[Page\\]\\[google.cloud.documentai.v1.Document.Page\\] in a parent\n\\[Document\\]\\[google.cloud.documentai.v1.Document\\]. Useful when a page is\ntaken out of a \\[Document\\]\\[google.cloud.documentai.v1.Document\\] for\nindividual processing.\n\n### Paragraphs\n\n public RepeatedField\u003cDocument.Types.Page.Types.Paragraph\u003e Paragraphs { get; }\n\nA list of visually detected text paragraphs on the page.\nA collection of lines that a human would perceive as a paragraph.\n\n### Provenance\n\n [Obsolete]\n public Document.Types.Provenance Provenance { get; set; }\n\nThe history of this page.\n\n### Symbols\n\n public RepeatedField\u003cDocument.Types.Page.Types.Symbol\u003e Symbols { get; }\n\nA list of visually detected symbols on the page.\n\n### Tables\n\n public RepeatedField\u003cDocument.Types.Page.Types.Table\u003e Tables { get; }\n\nA list of visually detected tables on the page.\n\n### Tokens\n\n public RepeatedField\u003cDocument.Types.Page.Types.Token\u003e Tokens { get; }\n\nA list of visually detected tokens on the page.\n\n### Transforms\n\n public RepeatedField\u003cDocument.Types.Page.Types.Matrix\u003e Transforms { get; }\n\nTransformation matrices that were applied to the original document image\nto produce \\[Page.image\\]\\[google.cloud.documentai.v1.Document.Page.image\\].\n\n### VisualElements\n\n public RepeatedField\u003cDocument.Types.Page.Types.VisualElement\u003e VisualElements { get; }\n\nA list of detected non-text visual elements e.g. checkbox,\nsignature etc. on the page."]]