public sealed class TextAnchor : IMessage<Document.Types.TextAnchor>, IEquatable<Document.Types.TextAnchor>, IDeepCloneable<Document.Types.TextAnchor>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.TextAnchor.
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 `Document.Types.TextAnchor` class within the Google Cloud Document AI v1 API, specifically for version 3.2.0, with links to other versions."],["`TextAnchor` is a class used for text reference indexing into the `Document.text` and it implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The documentation details two constructors for `TextAnchor`: a default constructor and one that accepts another `TextAnchor` instance as a parameter."],["The class has two main properties: `Content`, which contains the text span content, and `TextSegments`, which refers to the text segments within the `Document.text`."],["The documentation covers the inherited members of the class such as `Object.GetHashCode()` and `Object.GetType()` along with the namespace `Google.Cloud.DocumentAI.V1` and the assembly `Google.Cloud.DocumentAI.V1.dll`."]]],[]]