The bounding box for the block.
The vertices are in the order of top-left, top-right, bottom-right,
bottom-left. When a rotation of the bounding box is detected the rotation
is represented as around the top-left corner as defined when the text is
read in the 'natural' orientation.
For example:
when the text is horizontal it might look like:
0----1
| |
3----2
when it's rotated 180 degrees around the top-left corner it becomes:
[[["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-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eBlock\u003c/code\u003e class within the Google Cloud Vision v1 API, outlining its properties, constructors, and inheritance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBlock\u003c/code\u003e class represents a logical element on a page and can be of various types, such as text or image, as indicated by the \u003ccode\u003eBlockType\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists various versions of the Google.Cloud.Vision.V1 API, with version 3.7.0 being the latest, all pertaining to the Block class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBlock\u003c/code\u003e class has properties like \u003ccode\u003eBoundingBox\u003c/code\u003e to define its position, \u003ccode\u003eConfidence\u003c/code\u003e to rate the OCR quality, \u003ccode\u003eParagraphs\u003c/code\u003e for text blocks, and \u003ccode\u003eProperty\u003c/code\u003e for additional detected information.\u003c/p\u003e\n"],["\u003cp\u003eThe Block class implements several interfaces, like IMessage, IEquatable and IDeepCloneable, and inherits from the base .NET object class.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Vision v1 API - Class Block (3.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.Block)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.6.0/Google.Cloud.Vision.V1.Block)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.5.0/Google.Cloud.Vision.V1.Block)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.4.0/Google.Cloud.Vision.V1.Block)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.3.0/Google.Cloud.Vision.V1.Block)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.2.0/Google.Cloud.Vision.V1.Block)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.1.0/Google.Cloud.Vision.V1.Block)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.0.0/Google.Cloud.Vision.V1.Block)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.5.0/Google.Cloud.Vision.V1.Block)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.4.0/Google.Cloud.Vision.V1.Block)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.3.0/Google.Cloud.Vision.V1.Block) \n\n public sealed class Block : IMessage\u003cBlock\u003e, IEquatable\u003cBlock\u003e, IDeepCloneable\u003cBlock\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Vision v1 API class Block.\n\nLogical element on the page. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Block \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Block](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.Block), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Block](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.Block), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Block](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.Block), [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.Vision.V1](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Vision.V1.dll\n\nConstructors\n------------\n\n### Block()\n\n public Block()\n\n### Block(Block)\n\n public Block(Block other)\n\nProperties\n----------\n\n### BlockType\n\n public Block.Types.BlockType BlockType { get; set; }\n\nDetected block type (text, image etc) for this block.\n\n### BoundingBox\n\n public BoundingPoly BoundingBox { get; set; }\n\nThe bounding box for the block.\nThe vertices are in the order of top-left, top-right, bottom-right,\nbottom-left. When a rotation of the bounding box is detected the rotation\nis represented as around the top-left corner as defined when the text is\nread in the 'natural' orientation.\nFor example:\n\n- when the text is horizontal it might look like:\n\n 0----1\n | |\n 3----2\n\n- when it's rotated 180 degrees around the top-left corner it becomes:\n\n 2----3\n | |\n 1----0\n\n and the vertex order will still be (0, 1, 2, 3).\n\n### Confidence\n\n public float Confidence { get; set; }\n\nConfidence of the OCR results on the block. Range \\[0, 1\\].\n\n### Paragraphs\n\n public RepeatedField\u003cParagraph\u003e Paragraphs { get; }\n\nList of paragraphs in this block (if this blocks is of type text).\n\n### Property\n\n public TextAnnotation.Types.TextProperty Property { get; set; }\n\nAdditional information detected for the block."]]