TextField Class

Namespace: id3.Document

Definition

Represents a text field extracted from a document.
class TextField
class TextField implements Finalizable
public partial class TextField
public class TextField implements AutoCloseable, Serializable
public class TextField
typedef struct id3DocumentTextField *ID3_DOCUMENT_TEXT_FIELD;

Usage

textFieldInstance = id3document.TextField()

Explicit destruction

# ...
del textFieldInstance
final textFieldInstance = sdk.TextField();
// ...

Explicit destruction

// ...
textFieldInstance.dispose()
using (var textFieldInstance = new TextField())
{
   // ...
}

Explicit destruction

var textFieldInstance = new TextField()
// ...
textFieldInstance.Dispose()
try (TextField textFieldInstance = new TextField()) {
// ...
}

Explicit destruction

TextField textFieldInstance = new TextField();
// ...
textFieldInstance.close();
private var textFieldInstance: TextField? = nil
textFieldInstance = try TextField()
ID3_DOCUMENT_TEXT_FIELD hTextField{};
int err = id3DocumentTextField_Initialize(&hTextField);
if (err == ID3_SUCCESS) {
    // ...
    id3DocumentTextField_Dispose(&hTextField);
}

Properties

Name

Type

Description

bounds

Rectangle

Boundaries of the text field in the image.

confidence

float

Confidence score for the value read from the text field.

name

string

Name of the text field.

value

string

Value of the text field.

Methods

Name

Description

clone

Clones the TextField object.