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).