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.
class DataField
Properties
Name | Type | Description |
---|---|---|
Id | string | The internal field identifier. May be null. |
Name | string | The human-readable name of the field. |
Text | string | The text of the field. |
Quadrangle | List<Point> | The four vertex points of the bounding quadrangle. The vertices are indexed clockwise starting from the bottom left. |
CharsInfo | List<CharInfo> | Extended characters' information as an array of CharInfo objects. |
Components | List<DataField> | An array of data fields, representing one complex field found in the image, with all additional information. |
02.03.2022 12:59:15