public sealed class Block : IMessage<Document.Types.Page.Types.Block>, IEquatable<Document.Types.Page.Types.Block>, IDeepCloneable<Document.Types.Page.Types.Block>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.Page.Types.Block.
A block has a set of lines (collected into paragraphs) that have a
common line-spacing and orientation.
[[["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 provides reference documentation for the \u003ccode\u003eDocument.Types.Page.Types.Block\u003c/code\u003e class within the Cloud Document AI v1 API for .NET, covering versions from 1.0.0 to 3.19.0 with the latest being 3.19.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBlock\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e namespace, represents a set of lines in a document that share a common line-spacing and orientation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBlock\u003c/code\u003e class 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, and inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two constructors, \u003ccode\u003eBlock()\u003c/code\u003e and \u003ccode\u003eBlock(Document.Types.Page.Types.Block other)\u003c/code\u003e, and includes properties like \u003ccode\u003eDetectedLanguages\u003c/code\u003e, \u003ccode\u003eLayout\u003c/code\u003e, and \u003ccode\u003eProvenance\u003c/code\u003e, with the last one marked as obsolete.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDetectedLanguages\u003c/code\u003e property allows you to retrieve a list of detected languages within the block, whereas the \u003ccode\u003eLayout\u003c/code\u003e property provides details about the physical layout, and the \u003ccode\u003eProvenance\u003c/code\u003e property shows the history of the annotation.\u003c/p\u003e\n"]]],[],null,[]]