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 webpage provides documentation for the `Document.Types.TextAnchor` class within the Google Cloud Document AI v1 API, with the most recent version being `3.19.0`."],["The `Document.Types.TextAnchor` class is used for indexing text within a `Document.text` and is a core part of the Cloud Document AI API."],["The page includes a version history of the `Document.Types.TextAnchor` class from version `1.0.0` up to the latest version, `3.19.0`."],["The `Document.Types.TextAnchor` class implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces, indicating its role in data handling and manipulation within the API."],["The class has two constructors, one with no parameters and another which takes in another `TextAnchor` as a parameter, as well as two properties, `Content` which is a string and `TextSegments` which is a collection of `TextSegment` objects."]]],[]]