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 page provides documentation for the `TextAnchor` class within the `Google.Cloud.DocumentAI.V1` namespace, specifically version 1.3.0 and other versions ranging from 1.0.0 to 3.19.0."],["`TextAnchor` is a class used for referencing specific text within a Document, and it implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `TextAnchor` class includes properties such as `Content` (which stores the text span's content) and `TextSegments` (which refers to the text segments within the document's text)."],["The documentation covers the available constructors for the `TextAnchor` class, one being the default constructor, and the other taking another `TextAnchor` as its parameter."],["This page also lists the version history of `TextAnchor` class and provides links to the documentation of each past version."]]],[]]