public sealed class TextChange : IMessage<Document.Types.TextChange>, IEquatable<Document.Types.TextChange>, IDeepCloneable<Document.Types.TextChange>, IBufferMessage, IMessageThis message is used for text changes aka. OCR corrections.
Implements
IMessage<Document.Types.TextChange>, IEquatable<Document.Types.TextChange>, IDeepCloneable<Document.Types.TextChange>, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
TextChange()
public TextChange()TextChange(Document.Types.TextChange)
public TextChange(Document.Types.TextChange other)| Parameter | |
|---|---|
| Name | Description |
other |
Document.Types.TextChange |
Properties
ChangedText
public string ChangedText { get; set; }The text that replaces the text identified in the text_anchor.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Provenance
public RepeatedField<Document.Types.Provenance> Provenance { get; }The history of this annotation.
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<Document.Types.Provenance> |
|
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 |
Document.Types.TextAnchor |
|