The FormField Class is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
The base class for all form fields. Any form field, either predefined or user-defined, should implement FormField.Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public MustInherit Class FormField |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As FormField |
C# | |
---|---|
[SerializableAttribute()] public abstract class FormField |
C++/CLI | |
---|---|
[SerializableAttribute()] public ref class FormField abstract |
Fields are defined for each page in the processing engine. All fields require that you fill in the Property specifying where the field is located, and the Name Property.
Fields can be added or retrieved using the FormProcessingEngine.Pages property. Once fields are defined, they can be loaded or saved using the FormProcessingEngine.LoadFields or the FormProcessingEngine.SaveFields methods. You define MasterForm fields just once and save them to disk. LEADTOOLS supports TextFormField, OmrFormField, BarcodeFormField, ImageFormField, and custom user-defined fields derived from FormField. When obtaining processing results, check each field's type and cast it to the appropriate type in order to obtain the field-specific results (barcode, image, etc).
System.Object
Leadtools.Forms.Processing.FormField
Leadtools.Forms.Processing.BarcodeFormField
Leadtools.Forms.Processing.ImageFormField
Leadtools.Forms.Processing.OcrFormField
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7