public sealed class Document.Types.TextAnchor : IMessage<Document.Types.TextAnchor>, IEquatable<Document.Types.TextAnchor>, IDeepCloneable<Document.Types.TextAnchor>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.TextAnchor.
Text reference indexing into the
[Document.text][google.cloud.documentai.v1.Document.text].
[[["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 webpage provides documentation for the \u003ccode\u003eDocument.Types.TextAnchor\u003c/code\u003e class within the Google Cloud Document AI v1 API, with the current version being 3.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocument.Types.TextAnchor\u003c/code\u003e class is used for text reference indexing into the \u003ccode\u003eDocument.text\u003c/code\u003e and is implemented with several interfaces including \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 webpage offers access to documentation for a range of previous versions of this class, starting from version 1.0.0 and going up to the latest, 3.19.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties named \u003ccode\u003eContent\u003c/code\u003e and \u003ccode\u003eTextSegments\u003c/code\u003e and have the type of \u003ccode\u003estring\u003c/code\u003e and \u003ccode\u003eRepeatedField\u003c/code\u003e respectively, and it also has a constructor that can take another \u003ccode\u003eDocument.Types.TextAnchor\u003c/code\u003e as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eTextAnchor\u003c/code\u003e class inherits from the \u003ccode\u003eobject\u003c/code\u003e class, and it includes methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]