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.5.0 and onwards, up to the latest 3.19.0."],["The `TextAnchor` class is used for indexing text references into a document's text, as part of the Google Cloud Document AI service."],["It implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, which offers specific methods and functionalities for managing and using the class."],["The `TextAnchor` class offers two constructors, a default constructor and one that takes another `TextAnchor` object, as well as two key properties, `Content` (a string) and `TextSegments` (a `RepeatedField` of `TextSegment`)."],["The page outlines all versions from 1.0.0 to the latest 3.19.0 of the `TextAnchor` class with the full documentation on each version."]]],[]]