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"]],[["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-17 UTC."],[[["The webpage documents the `TextChange` class, which is used for managing text corrections, also known as Optical Character Recognition (OCR) changes, within the `Google.Cloud.DocumentAI.V1` namespace, version 1.2.0."],["This `TextChange` class inherits from `Object` and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` within the Protobuf framework, allowing for functionalities like message handling and deep cloning."],["The class offers two constructors: a default constructor `TextChange()` and a copy constructor `TextChange(Document.Types.TextChange other)`, for creating new `TextChange` instances or copies of existing ones."],["Key properties of the `TextChange` class include `ChangedText`, which holds the replacement text, `Provenance`, which contains the history of the annotation, and `TextAnchor`, which specifies the location of the text that was corrected."],["The webpage provides a comprehensive list of available versions of the `Google.Cloud.DocumentAI.V1` library, ranging from the latest version, 3.19.0, down to the oldest documented version, 1.0.0."]]],[]]