public sealed class Document.Types.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, with the current version being 3.15.0."],["The `Document.Types.TextAnchor` class is used for text reference indexing within the `Document.text` of the Document AI, and it also implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes properties such as `Content`, which holds the text span content, and `TextSegments`, which contains the text segments from the `Document.text`."],["The page also lists available versions of this class, ranging from version 1.0.0 to the latest version, 3.19.0."],["There are two constructors available for the class; one constructor has no parameter, and the other constructor has `Document.Types.TextAnchor` as a parameter."]]],[]]