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.6.0, with links to other versions."],["`TextAnchor` is used for text reference indexing within `Document.text` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has two constructors, `TextAnchor()` and `TextAnchor(Document.Types.TextAnchor other)`, and includes properties like `Content` (the text span content) and `TextSegments` (the segments from `Document.text`)."],["The document covers inherited members such as Object.GetHashCode(), Object.GetType(), Object.MemberwiseClone(), and Object.ToString()."],["The current version of the documentation is 3.6.0, with the latest version being 3.19.0 and it also contains a list of previous versions that can be referred to."]]],[]]