Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public MustInherit Class FormField |
Visual Basic (Usage) | Copy Code |
---|---|
|
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 you fill in the Property specifying where the field is located, and a Name Property.
Fields can be added or retrieved through the FormProcessingEngine.Pages property. Once fields are defined, they can be loaded/saved from disk using the FormProcessingEngine.LoadFields(String) and FormProcessingEngine.SaveFields(String) methods, allowing you to 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, you should check for the type of each field, 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family