Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
OmrOptions Property
See Also 
Leadtools.Forms.Ocr Namespace > IOcrZoneManager Interface : OmrOptions Property



Gets the OMR settings currently used in the engine.

Syntax

Visual Basic (Declaration) 
Overridable ReadOnly Property OmrOptions As IOcrOmrOptions
Visual Basic (Usage)Copy Code
Dim instance As IOcrZoneManager
Dim value As IOcrOmrOptions
 
value = instance.OmrOptions
C# 
virtual IOcrOmrOptions OmrOptions {get;}
C++/CLI 
virtual property IOcrOmrOptions^ OmrOptions {
   IOcrOmrOptions^ get();
}

Return Value

An IOcrOmrOptions interface implementation object that define the OMR settings currently used in the engine.

Example

For an example, refer to IOcrOmrOptions.

Remarks

OMR stands for Optical Mark Recognition. For more information refer to Using OMR in LEADTOOLS .NET OCR.

You can get the instance of the IOcrOmrOptions interface currently used in the engine with the IOcrSpellCheckManager.OmrOptions property.

With the IOcrOmrOptions interface, you can change the following OMR settings:

Calling IOcrPage.Recognize, updates all of the OMR zone properties as follows:
PropertyDescription
OcrZone.OmrStateEither OcrOmrZoneState.Filled if the mark is recognized to be filled or checked, or OcrOmrZoneState.Unfilled if the mark is recognized to be unfilled or unchecked.
OcrZone.OmrConfidenceA number between 0 and 100 (where 100 is maximum confidence) that specifies the OCR engine confidence in the recognition status in OcrZone.OmrState.

The OMR zones of a page are zones with the following properties:
PropertyValue
OcrZone.FillMethodSet to OcrZoneFillMethod.Omr
OcrZone.RecognitionModuleSet to OcrZoneRecognitionModule.Omr

All LEADTOOLS OCR engines support OMR. However, there is no current support for auto-detecting OMR zones in a page, you have to add the OMR zones manually to the page by setting their boundary (through OcrZone.Bounds, the fill method and recognition module as described above and adding the zone to the page using the IOcrPage.Zones collection before calling IOcrPage.Recognize.

To use OMR in LEADTOOLS, you need a special key to unlock the OMR capabilities. For more information, refer to Unlocking Special LEAD Features.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

OmrOptions requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features