LEADTOOLS WCF OCR (Leadtools.Services.Forms.DataContracts assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
RecognitionModule Property
See Also 
Leadtools.Services.Forms.DataContracts Namespace > OcrZone Class : RecognitionModule Property



The RecognitionModule Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the zone recognition module.

Syntax

Visual Basic (Declaration) 
<DataMemberAttribute(Name="RecognitionModule", IsRequired=True)>
Public Property RecognitionModule As OcrZoneRecognitionModule
Visual Basic (Usage)Copy Code
Dim instance As OcrZone
Dim value As OcrZoneRecognitionModule
 
instance.RecognitionModule = value
 
value = instance.RecognitionModule
C# 
[DataMemberAttribute(Name="RecognitionModule", IsRequired=true)]
public OcrZoneRecognitionModule RecognitionModule {get; set;}
C++/CLI 
[DataMemberAttribute(Name="RecognitionModule", IsRequired=true)]
public:
property OcrZoneRecognitionModule RecognitionModule {
   OcrZoneRecognitionModule get();
   void set (    OcrZoneRecognitionModule value);
}

Property Value

An OcrZoneRecognitionModule enumeration member that indicate the zone recognition module.

Example

For an example, refer to DocumentConvertOptions.PagesZones

Remarks

The FillMethod property is used to define what kind of zone filling method has been used originally on the document to fill the zone's area. (i.e. whether it contains a barcode, machine print, handprint, graphic, etc.).

The RecognitionModule property specifies the recognition module to be used for this zone.

Since any recognition module supports only a limited set of the zone filling methods, the module specified in RecognitionModule should be able to deal with the specified OcrZoneFillMethod. It is your responsibility to specify a valid recognition module-filling method pair. Otherwise any incorrectly set zone will have no recognition result. For more information, refer to An Overview of OCR Recognition Modules.

Note: This property is not supported in the LEADTOOLS OCR Advantage Engine and it will always contain OcrZoneRecognitionModule.Auto.

Requirements

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

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features