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-04-09 UTC."],[[["This webpage provides reference documentation for the `Document.Types.TextAnchor` class within the Google Cloud Document AI v1 API, highlighting its role in text indexing."],["The latest version of the `Document.Types.TextAnchor` class is 3.19.0, and the page lists all versions from this latest one down to version 1.0.0, providing access to all the historical API versions."],["The `Document.Types.TextAnchor` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits members from `object`."],["The `TextAnchor` class includes properties like `Content` (a string that provides the text in the span) and `TextSegments`, which is a repeated field that reference the text segments from the document."],["There are two constructors available for `TextAnchor`: one default constructor, and another that accepts another `Document.Types.TextAnchor` object as a parameter."]]],[]]