public sealed class TextChange : IMessage<Document.Types.TextChange>, IEquatable<Document.Types.TextChange>, IDeepCloneable<Document.Types.TextChange>, IBufferMessage, IMessage
This message is used for text changes aka. OCR corrections.
public Document.Types.TextAnchor TextAnchor { get; set; }
Provenance of the correction.
Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text]. There can only be a
single TextAnchor.text_segments element. If the start and
end index of the text segment are the same, the text change is inserted
before that index.
[[["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 webpage details the \u003ccode\u003eTextChange\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e namespace, which is used for representing text changes, such as Optical Character Recognition (OCR) corrections, in document processing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextChange\u003c/code\u003e class, a part of the Document AI library, offers properties like \u003ccode\u003eChangedText\u003c/code\u003e, \u003ccode\u003eProvenance\u003c/code\u003e, and \u003ccode\u003eTextAnchor\u003c/code\u003e, to describe the new text, its history, and the original location, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe current latest version available is 3.19.0, with older versions starting from 3.18.0 and going down to version 1.0.0, all accessible via provided links.\u003c/p\u003e\n"],["\u003cp\u003eThe class has multiple constructors that can take an existing \u003ccode\u003eTextChange\u003c/code\u003e object to facilitate copying, or it can create a new empty object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextChange\u003c/code\u003e class implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e to ensure interoperability and functionality within the .NET ecosystem.\u003c/p\u003e\n"]]],[],null,[]]