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\u003eThe latest version available for the \u003ccode\u003eDocument.Types.Page.Types.Block\u003c/code\u003e class is 3.19.0, and a range of previous versions are documented, down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBlock\u003c/code\u003e class represents a set of lines in a document with common line-spacing and orientation, and it inherits from \u003ccode\u003eObject\u003c/code\u003e, implementing 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\u003eThe \u003ccode\u003eBlock\u003c/code\u003e class includes properties such as \u003ccode\u003eDetectedLanguages\u003c/code\u003e, a list of detected languages with confidence levels, \u003ccode\u003eLayout\u003c/code\u003e, representing the layout of the block, and \u003ccode\u003eProvenance\u003c/code\u003e, which tracks the annotation's history, with \u003ccode\u003eProvenance\u003c/code\u003e being marked as obsolete.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available for the \u003ccode\u003eBlock\u003c/code\u003e class, including a default constructor \u003ccode\u003eBlock()\u003c/code\u003e and a constructor \u003ccode\u003eBlock(Document.Types.Page.Types.Block other)\u003c/code\u003e that allows creating a block based on an existing \u003ccode\u003eBlock\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe assembly for this document is \u003ccode\u003eGoogle.Cloud.DocumentAI.V1.dll\u003c/code\u003e and it exists within the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],[],null,[]]