←Select platform

OmrOptions Property

Summary

Gets the OMR (Optical Mark Recognition) settings currently used by the engine.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
ReadOnly Property OmrOptions As Leadtools.Forms.Ocr.IOcrOmrOptions 
@property (nonatomic, strong, readonly) LTOcrOmrOptions *omrOptions 
public OcrOmrOptions getOmrOptions() 
get_OmrOptions();  

Property Value

An IOcrOmrOptions interface implementation object that defines the OMR settings currently used by the engine.

Remarks

Use of OMR in LEADTOOLS requires a special key to unlock OMR capabilities. For more information, refer to Unlocking Special LEAD Features.

To get the instance of the IOcrOmrOptions interface currently used in the engine call the IOcrSpellCheckManager.OmrOptions property.

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

The OMR zones of a page have the OcrZone.ZoneType property set to OcrZoneType.Omr.

All LEADTOOLS OCR engines support OMR. However, only the Advantage OCR engine supports auto-detection of OMR zones during auto-zoning of the OCR page. To set up OMR zone auto-detection, make sure that the "Detect Checkbox" is one of the Recognition.Zoning.Options setting flags included before calling IOcrPage.AutoZone or IOcrPage.Recognize. The rest of the OCR engines require that the OMR zones be manually added to the page by setting their boundaries through OcrZone.Bounds and zone type as described above. Then add the zones to the page using the IOcrPage.Zones collection before calling IOcrPage.Recognize.

For more information refer to Using OMR in LEADTOOLS .NET OCR.

Example

For an example, refer to IOcrOmrOptions.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Forms.Ocr Assembly
Click or drag to resize