A class that represents a rectangular region (as well as the label to the left of the region) that defines an area on a form that can be filled in with text and read during form processing. Unlike the TextFormField, this class does not have a fixed, pre-defined structure.
Fields are defined for each page in the processing engine. All fields require that the FormField.Bounds and FormField.Name properties be filled with valid values.
Add or retrieve fields by using the FormProcessingEngine.Pages property. After fields are defined, use the FormProcessingEngine.LoadFields and FormProcessingEngine.SaveFields methods to load them from and save them to disk. Because MasterForm fields are saved to disk they only need to be defined once. LEADTOOLS supports the following types of fields:
TextFormField |
OmrFormField |
BarcodeFormField |
ImageFormField |
Custom, user-defined fields derived from FormField |
Note: When obtaining processing results, check the type of each field, and cast the field to the appropriate type in order to obtain the field-specific results (barcode, image, etc).