←Select platform

Field Class

Summary

The base class for all OMR fields. Any OMR form field implements this class.

Syntax
C#
VB
C++
[SerializableAttribute()] 
[XmlIncludeAttribute(System.Type)] 
[XmlIncludeAttribute(System.Type)] 
[XmlIncludeAttribute(System.Type)] 
[XmlIncludeAttribute(System.Type)] 
[KnownTypeAttribute(System.Type)] 
[DataContractAttribute()] 
[KnownTypeAttribute(System.Type)] 
[KnownTypeAttribute(System.Type)] 
[KnownTypeAttribute(System.Type)] 
public abstract class Field 
<SerializableAttribute(),  
 XmlIncludeAttribute(System.Type),  
 XmlIncludeAttribute(System.Type),  
 XmlIncludeAttribute(System.Type),  
 XmlIncludeAttribute(System.Type),  
 KnownTypeAttribute(System.Type),  
 DataContractAttribute(),  
 KnownTypeAttribute(System.Type),  
 KnownTypeAttribute(System.Type),  
 KnownTypeAttribute(System.Type)>  
Public MustInherit Class Field 
public: 
   [SerializableAttribute,  
   XmlIncludeAttribute(System::Type),  
   XmlIncludeAttribute(System::Type),  
   XmlIncludeAttribute(System::Type),  
   XmlIncludeAttribute(System::Type),  
   KnownTypeAttribute(System::Type),  
   DataContractAttribute,  
   KnownTypeAttribute(System::Type),  
   KnownTypeAttribute(System::Type),  
   KnownTypeAttribute(System::Type)] 
   ref class Field abstract 
Remarks

Fields are defined for each Omr page in the ITemplateForm. Each field requires a name and its bounds to specify where it is located on the page.

Fields can be added or retrieved using the Page.Fields property. Once defined, the fields can be saved or loaded using IForm.Save and IForm.Load methods.

LEADTOOLS supports OmrFields, OcrField, ImageField and BarcodeField.

Each field contains the FieldResult property that must be cast to the appropriate type in order to obtain the field-specific results (Omr, Image, etc).

Requirements
Target Platforms
Help Version 21.0.2021.3.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Processing.Omr Assembly