LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
OcrEngineManager Class
See Also  Members  
Leadtools.Forms.Ocr Namespace : OcrEngineManager Class



The OcrEngineManager Class is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Provides methods to create OCR engine instances.

Object Model

OcrEngineManager Class

Syntax

Visual Basic (Declaration) 
Public MustInherit NotInheritable Class OcrEngineManager 
Visual Basic (Usage)Copy Code
Dim instance As OcrEngineManager
C# 
public static class OcrEngineManager 
C++/CLI 
public ref class OcrEngineManager abstract sealed 

Example

Remarks

The Leadtools.Forms.Ocr.OcrEngineManager class and its methods are your entry point to using the Leadtools.Forms.Ocr class library.

This class provides the methods you need to create an object of the IOcrEngine interface. Afterwards, you can use the properties and methods of this interface to perform your OCR tasks.

Based on the engine type passed to the CreateEngine methods, Leadtools.Forms.Ocr.OcrEngineManager will load the OCR engine defined in one of the supporting assemblies and return an interface to IOcrEngine. Use this interface and its included types to start using the Leadtools.Forms.Ocr class library. For more information about the engine types, refer to Leadtools.Forms.Ocr.OcrEngineType.

The CreateEngine method lets you create an instance of IOcrEngine, loading the corresponding Leadtools.Forms.Ocr.[EngineName].dll assembly using the .NET System.Reflection.Assembly.Load(string assemblyString) method. You cannot unload this assembly once it has been successfully loaded.

Depending on your application requirement, platform and OCR engine type; a "thunk" mechanism might be required. Refer to Multi-Threading with LEADTOOLS OCR for more information and on how to use the useThunkServer parameter of OcrEngineManager.CreateEngine.

Inheritance Hierarchy

System.Object
   Leadtools.Forms.Ocr.OcrEngineManager

Requirements

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

See Also

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