SingleSelectionField Class


High level OMR form field that represents a row or a column of multiple OmrFormField objects in which one of the OMR marks is selected in the filled form.

public class SingleSelectionField : FormField 
Public Class SingleSelectionField 
   Inherits FormField 
public ref class SingleSelectionField : public FormField  


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.

Add or retrieve fields by calling the FormProcessingEngine.Pages property. After fields are defined, they can be loaded/saved from disk using the FormProcessingEngine.LoadFields and FormProcessingEngine.SaveFields methods. This makes it possible to define MasterForm fields just once and save them to disk. LEADTOOLS supports the TextFormField, OmrFormField, BarcodeFormField, ImageFormField, SingleSelectionField, BubbleWordField, and custom user-defined fields derived from FormField. When obtaining processing results, be sure to 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.).

A SingleSelectionField form field can be created automatically by using DiskMasterForm and calling the CreateSingleSelectionField method with the appropriate parameters.

When created automatically, the field's values are automatically populated with the recognized text from the OCR. Each field value will be assigned the text area that is on the right side of each OMR mark. Users can edit a field's values by accessing the Fields Property.


Target Platforms


For example, See CreateSingleSelectionField.

Help Version 20.0.2020.2.17
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Processing Assembly