public sealed class TextAnnotation : IMessage<TextAnnotation>, IEquatable<TextAnnotation>, IDeepCloneable<TextAnnotation>, IBufferMessage, IMessage
TextAnnotation contains a structured representation of OCR extracted text.
The hierarchy of an OCR extracted text structure is like this:
TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol
Each structural component, starting from Page, may further have their own
properties. Properties describe detected languages, breaks etc.. Please refer
to the [TextAnnotation.TextProperty][google.cloud.vision.v1.TextAnnotation.TextProperty] message definition below for more
detail.
[[["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 outlines the \u003ccode\u003eTextAnnotation\u003c/code\u003e class, which is a fundamental component for representing OCR-extracted text within the Google Cloud Vision API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextAnnotation\u003c/code\u003e organizes text hierarchically, from \u003ccode\u003eTextAnnotation\u003c/code\u003e down to \u003ccode\u003ePage\u003c/code\u003e, \u003ccode\u003eBlock\u003c/code\u003e, \u003ccode\u003eParagraph\u003c/code\u003e, \u003ccode\u003eWord\u003c/code\u003e, and \u003ccode\u003eSymbol\u003c/code\u003e, allowing for detailed structural analysis of the extracted text.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextAnnotation\u003c/code\u003e class is implemented through several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which enhances its functionality and usability within the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eTextAnnotation\u003c/code\u003e include \u003ccode\u003ePages\u003c/code\u003e, a list of detected pages, and \u003ccode\u003eText\u003c/code\u003e, which represents the overall UTF-8 text extracted from those pages.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the \u003ccode\u003eTextAnnotation\u003c/code\u003e documentation are available, ranging from version 2.3.0 up to the latest version, 3.7.0.\u003c/p\u003e\n"]]],[],null,[]]