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 the .NET environment, with the latest version being 3.19.0."],["The `TextAnchor` class is used for indexing text within a `Document.text` object and is implemented with multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class is constructed with the ability to be created with no arguments, or created using a clone of another instance of `Document.Types.TextAnchor`."],["The `TextAnchor` class includes two main properties: `Content`, which contains the actual text span content, and `TextSegments`, which is a collection of text segments from the document text."],["The page also lists all the past versions of the API from 3.18.0 down to 1.0.0."]]],[]]