public sealed class Document.Types.TextChange : IMessage<Document.Types.TextChange>, IEquatable<Document.Types.TextChange>, IDeepCloneable<Document.Types.TextChange>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.TextChange.
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-03-21 UTC."],[[["This webpage provides reference documentation for the `Document.Types.TextChange` class within the Google Cloud Document AI v1 API, which handles text changes or corrections in OCR processing."],["The `Document.Types.TextChange` class is a part of the `Google.Cloud.DocumentAI.V1` namespace, found within the `Google.Cloud.DocumentAI.V1.dll` assembly, and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["Key properties of the `Document.Types.TextChange` class include `ChangedText`, representing the replacement text, `Provenance` which provides the history of the annotation, and `TextAnchor` indicating the location of the correction within the document's text."],["The documentation offers detailed information on the class's constructors, including a default constructor `TextChange()` and an overload `TextChange(TextChange)` for creating a copy, along with inheritance and inherited members from the base object class."],["A list of all the versions of Document.Types.TextChange is provided, starting from 1.0.0 to the latest 3.19.0."]]],[]]