public sealed class TextAnnotation : IMessage<TextAnnotation>, IEquatable<TextAnnotation>, IDeepCloneable<TextAnnotation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class TextAnnotation.
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\u003eThe latest version available for the Google Cloud Vision v1 API class TextAnnotation is 3.7.0, with the provided content version being 3.3.0.\u003c/p\u003e\n"],["\u003cp\u003eTextAnnotation is a structured representation of OCR-extracted text, organized hierarchically from TextAnnotation to Page, Block, Paragraph, Word, and finally, Symbol.\u003c/p\u003e\n"],["\u003cp\u003eThe TextAnnotation class inherits from the Object class and implements IMessage, IEquatable, IDeepCloneable, and IBufferMessage interfaces.\u003c/p\u003e\n"],["\u003cp\u003eTextAnnotation contains two main properties: Pages, which is a list of detected pages, and Text, which is the UTF-8 encoded text found on the pages.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Cloud Vision v1 API offers a variety of previous versions to choose from dating back to 2.3.0.\u003c/p\u003e\n"]]],[],null,[]]