←Select platform

OcrEngineType Enumeration

Summary

Specifies the available OCR engine types.

Syntax

C#
VB
C++
[DataContractAttribute(Namespace="http://Leadtools.Services.Forms.DataContracts/2009/01", Name="OcrEngineType")] 
public enum OcrEngineType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable   
  
<DataContractAttribute(Namespace="http://Leadtools.Services.Forms.DataContracts/2009/01", Name="OcrEngineType")> 
Public Enum OcrEngineType  
   Inherits System.Enum 
   Implements System.IComparable, System.IConvertible, System.IFormattable  
[DataContractAttribute(Namespace="http://Leadtools.Services.Forms.DataContracts/2009/01", Name="OcrEngineType")] 
public enum class OcrEngineType : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   

Members

ValueMemberDescription
0AdvantageSpecifies the LEADTOOLS OCR Advantage engine. Internally, the OCR library inside Leadtools.Forms.Ocr.Advantage.dll is used.
1ProfessionalSpecifies the LEADTOOLS OCR Professional engine. Internally, the OCR library inside Leadtools.Forms.Ocr.Professional.dll is used.
Remarks

You can specify one of the OcrEngineType enumeration values through "Leadtools.Services.Forms.ServiceImplementations.dll.config" file to set the Ocr engine. For example, to use the Advantage engine to recognize a page, replace the following node <setting name="EngineType" serializeAs="String"> <value>Advantage</value> </setting> with the following node <setting name="EngineType" serializeAs="String"> <value>Advantage</value> </setting> in Leadtools.Services.Forms.ServiceImplementations.dll.config file which is shipped with our setup.

Example

For an example, refer to DocumentConvertOptions.

Requirements

Target Platforms

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