DataField class
A recognized data field. Provides field contents, location and included data fields, if applicable.
Note that a field may have several components — for example, it can contain two or more words. Component details are available from the Components array. Each element of this array is a DataField object with its own Text property (for example, a word) and Quadrangle property (the bounding quadrangle of this component). The field's Text property contains its entire text, and the field's Quadrangle property represents the whole area of a field: this quadrangle encloses the quadrangles of all components.
The Components array always contains at least one element. When a field contains only one component, the Text and Quadrangle properties of the field and this component are identical.
final class DataField {
public final String Id;
public final String Name;
public final String Text;
public final Point[] Quadrangle;
public final DataField[] Components;
}
Properties
Name | Type | Description |
---|---|---|
Components | DataField[] | An array of data fields, representing one complex field found in the image, with all additional information. |
Id | String | The internal field identifier. Can be one of the predefined fields or the custom field identifier that you specified in the ISchemeBuilder.addField call. May be null. |
Name | String | The human-readable name of the field. If you are using a custom data capture profile, this is the name you set with the IFieldBuilder.setName method. |
Quadrangle | Point[] |
The four vertex points of the bounding quadrangle. The vertices are indexed clockwise starting from the bottom left.
|
Text | String | The text of the field. |
3/2/2022 12:59:15 PM