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, which is designed to represent text changes or corrections identified in OCR processes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextChange\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e namespace within the Google Cloud Document AI library for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage provides access to various versions of the \u003ccode\u003eTextChange\u003c/code\u003e class documentation, ranging from version 1.0.0 to the latest version 3.19.0.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eTextChange\u003c/code\u003e class include \u003ccode\u003eChangedText\u003c/code\u003e, \u003ccode\u003eProvenance\u003c/code\u003e, and \u003ccode\u003eTextAnchor\u003c/code\u003e, which describe the replacement text, the history of the annotation, and the original text location respectively.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextChange\u003c/code\u003e class can be constructed with the default constructor, or by using another instance of \u003ccode\u003eDocument.Types.TextChange\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]