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 page provides reference documentation for the \u003ccode\u003eDocument.Types.TextAnchor\u003c/code\u003e class within the Google Cloud Document AI v1 API, highlighting its role in text indexing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocument.Types.TextAnchor\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showcasing its capabilities for message handling, equality comparisons, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists the availability of the \u003ccode\u003eDocument.Types.TextAnchor\u003c/code\u003e class across multiple versions of the Google Cloud Document AI v1 API, ranging from version 1.0.0 to 3.19.0 (latest), enabling users to access documentation for the specific version they require.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eDocument.Types.TextAnchor\u003c/code\u003e are described, including \u003ccode\u003eContent\u003c/code\u003e, which contains the text span content, and \u003ccode\u003eTextSegments\u003c/code\u003e, which references text segments from \u003ccode\u003eDocument.text\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe document references inherited members and constructors of the class, such as \u003ccode\u003eobject.GetHashCode()\u003c/code\u003e, \u003ccode\u003eobject.GetType()\u003c/code\u003e, \u003ccode\u003eTextAnchor()\u003c/code\u003e and \u003ccode\u003eTextAnchor(Document.Types.TextAnchor other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]