←Select platform

RecognitionModule Property

Summary

Gets or sets the zone recognition module.

Syntax

C#
VB
C++
[DataMemberAttribute(Name="RecognitionModule", IsRequired=true)] 
public OcrZoneRecognitionModule RecognitionModule { get; set; } 
  
<DataMemberAttribute(Name="RecognitionModule", IsRequired=True)> 
Public Property RecognitionModule As Leadtools.Services.Forms.Datacontracts.OcrZoneRecognitionModule 
[DataMemberAttribute(Name="RecognitionModule", IsRequired=true)] 
public: 
property Leadtools.Services.Forms.Datacontracts.OcrZoneRecognitionModule RecognitionModule { 
   Leadtools.Services.Forms.Datacontracts.OcrZoneRecognitionModule get(); 
   void set (    Leadtools.Services.Forms.Datacontracts.OcrZoneRecognitionModule ); 
} 

Property Value

An OcrZoneRecognitionModule enumeration member that indicate the zone recognition module.

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.

Example

For an example, refer to DocumentConvertOptions.PagesZones

Requirements

Target Platforms

See Also

Reference

OcrZone Class

OcrZone Members

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