LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Shutdown Method

Show in webframe







Shuts down the OCR engine and frees all resources and memory allocated to it.
Syntax
void Shutdown()
'Declaration
 
Sub Shutdown() 
'Usage
 
Dim instance As IOcrEngine
 
instance.Shutdown()
void Shutdown()
- (void)shutdown;
public void shutdown()
function Leadtools.Forms.Ocr.IOcrEngine.Shutdown()
void Shutdown(); 
Remarks

The Startup method must be called before invoking any other methods or properties in this IOcrEngine.

To check if the engine is started, use the IsStarted property.

You must call Shutdown to shut down the engine and free the memory and resources used.

You can call the Startup method multiple times, only the first call will start the engine while subsequent calls will only increment an internal counter. You must call Shutdown for each Startup called.

The IOcrEngine interface implements System.IDisposable. It is highly recommended that you call System.IDisposable.Dispose (or use the using statement in C# or Using statement in Visual Basic) when creating the IOcrEngine instance. The System.IDisposable.Dispose method will automatically shuts down the engine if it has been started.

Example
For an example, refer to Startup.
Requirements

Target Platforms

See Also

Reference

IOcrEngine Interface
IOcrEngine Members
Startup
IsStarted Property
WorkDirectory Property
OcrEngineManager Class
OcrEngineType Enumeration
Programming with the LEADTOOLS .NET OCR
Creating an OCR Engine Instance
Starting and Shutting Down the OCR Engine

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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