←Select platform

SingleSelectionField Class

Summary

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.

Syntax

C#
VB
C++
[SerializableAttribute()] 
public class SingleSelectionField : FormField 
  
<SerializableAttribute()> 
Public Class SingleSelectionField 
   Inherits Leadtools.Forms.Processing.FormField 
[SerializableAttribute()] 
public ref class SingleSelectionField : public Leadtools.Forms.Processing.FormField  

Remarks

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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Processing Assembly