public sealed class TextAnchor : IMessage<Document.Types.TextAnchor>, IEquatable<Document.Types.TextAnchor>, IDeepCloneable<Document.Types.TextAnchor>, IBufferMessage, IMessage
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\u003eTextAnchor\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e namespace, specifically version 2.0.0 and its history through various versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextAnchor\u003c/code\u003e class is used for indexing into the \u003ccode\u003eDocument.text\u003c/code\u003e and is part of the Document AI library for .NET, as indicated by it belonging to the Google Cloud Document AI API.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation page covers the implementation of \u003ccode\u003eTextAnchor\u003c/code\u003e, showing that it inherits from \u003ccode\u003eObject\u003c/code\u003e and implements multiple interfaces like \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 \u003ccode\u003eTextAnchor\u003c/code\u003e class includes properties like \u003ccode\u003eContent\u003c/code\u003e, which stores the text span content, and \u003ccode\u003eTextSegments\u003c/code\u003e, which references the segments from the document's text.\u003c/p\u003e\n"],["\u003cp\u003eThe page also documents the constructors of \u003ccode\u003eTextAnchor\u003c/code\u003e, including a parameter for copying from another \u003ccode\u003eTextAnchor\u003c/code\u003e object, and has links for different release versions ranging from 1.0.0 to 3.19.0.\u003c/p\u003e\n"]]],[],null,[]]