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.
Implements
IMessageDocumentTypesTextChange, IEquatableDocumentTypesTextChange, IDeepCloneableDocumentTypesTextChange, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
TextChange()
public TextChange()
TextChange(TextChange)
public TextChange(Document.Types.TextChange other)
Parameter | |
---|---|
Name | Description |
other |
DocumentTypesTextChange |
Properties
ChangedText
public string ChangedText { get; set; }
The text that replaces the text identified in the text_anchor
.
Property Value | |
---|---|
Type | Description |
string |
Provenance
[Obsolete]
public RepeatedField<Document.Types.Provenance> Provenance { get; }
The history of this annotation.
Property Value | |
---|---|
Type | Description |
RepeatedFieldDocumentTypesProvenance |
TextAnchor
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.
Property Value | |
---|---|
Type | Description |
DocumentTypesTextAnchor |