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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eDocument.Types.TextAnchor\u003c/code\u003e class within the Google Cloud Document AI v1 API, specifically for the .NET environment, with version 3.19.0 being the most recent version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocument.Types.TextAnchor\u003c/code\u003e class is used for indexing into the \u003ccode\u003eDocument.text\u003c/code\u003e to reference specific text segments.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, comparison, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties like \u003ccode\u003eContent\u003c/code\u003e to store the text span's content and \u003ccode\u003eTextSegments\u003c/code\u003e to hold a collection of \u003ccode\u003eTextSegment\u003c/code\u003e objects, and also contains constructors that allow the creation of a new instance, or a copy of an existing instance.\u003c/p\u003e\n"],["\u003cp\u003eA comprehensive list of previous versions, from 3.18.0 down to 1.0.0, of the documentation for \u003ccode\u003eDocument.Types.TextAnchor\u003c/code\u003e is provided for reference.\u003c/p\u003e\n"]]],[],null,[]]