Using the OMR Options

If the RecognizeModule property (ILTZoneData) of a specific zone is RECOGNIZE_MODULE_OMR, then the Optical Mark Recognition Module is associated with the zone and several other OMR options can be used to aid in recognition of the zone.

To get the current OMR options, call the GetOMROptions method. This method updates the OMRModuleOptions property with the current values. The OMRModuleOptions property itself is read only, but the ILTOMROptions properties accessed through this property can be set. Set these properties to the desired new values and set the OMR options for the OCR engine by calling the SetOMROptions method.

Since the OMR options pertain to characteristics of optical marks, the properties represent various characteristics of optical marks. The Frame property indicates whether the OMR zone borders will be visible and the Sense property indicates the sensitivity of the mark. The EnableFill property indicates the possible values for each OMR zone output in the recognition results.