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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `TextAnchor` class within the `Google.Cloud.DocumentAI.V1` namespace, specifically focusing on version 1.4.0 and including links to other versions."],["The `TextAnchor` class is used for indexing into the `Document.text` and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The documentation covers the `TextAnchor` class's inheritance from `Object`, its constructors (`TextAnchor()` and `TextAnchor(Document.Types.TextAnchor)`), and its key properties, `Content` and `TextSegments`."],["The `Content` property, a string type, is described as containing the text span content, which is populated for formFields, and the `TextSegments` property, a `RepeatedField` of `TextSegment`, indicates text segments within `Document.text`."],["The page also lists other versions of the documentation, ranging from 3.19.0 (latest) down to 1.0.0, allowing navigation to the appropriate documentation for each version."]]],[]]