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-04-01 UTC."],[[["This page provides documentation for the `TextAnchor` class within the `Google.Cloud.DocumentAI.V1` namespace, which is used for indexing text within a `Document`."],["The `TextAnchor` class is part of the `Google.Cloud.DocumentAI.V1.dll` assembly and implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The documentation outlines available versions of the `TextAnchor` class, ranging from version 1.0.0 to the latest version, 3.19.0, for use in different projects."],["Key properties of the `TextAnchor` class include `Content`, which holds the text span's content, and `TextSegments`, which references the segments of text in the document."],["The `TextAnchor` class provides two constructors, one default constructor, and another to allow the user to create a `TextAnchor` object based on another object."]]],[]]