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 is used for text corrections in OCR processes."],["The `TextChange` class has properties such as `ChangedText`, `Provenance`, and `TextAnchor`, which handle the corrected text, its history, and the location of the correction in the original text."],["The content provides a list of versioned API references from 3.19.0 (latest) down to 1.0.0, each with a link to the respective `Document.Types.TextChange` documentation."],["The `TextChange` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and is a subclass of `object`."],["There are two constructors available for `TextChange`, one being the default and the other allowing the use of a `Document.Types.TextChange` type as a parameter."]]],[]]