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 page provides documentation for the `Document.Types.TextAnchor` class within the Google Cloud Document AI v1 API, specifically for version 3.3.0 and other versions as well."],["The `TextAnchor` class is used for text reference indexing into the `Document.text` and is a part of the namespace `Google.Cloud.DocumentAI.V1`."],["It implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits members from `Object`."],["Key properties of the `TextAnchor` class include `Content` (the text span content) and `TextSegments` (the text segments from the Document.text)."],["The provided content has links to each previous version, ranging from version 1.0.0 to the latest 3.19.0."]]],[]]