Leadtools.Forms.Ocr Namespace > IOcrEngine Interface : Shutdown Method |
void Shutdown()
'Declaration Sub Shutdown()
'Usage Dim instance As IOcrEngine instance.Shutdown()
void Shutdown()
function Leadtools.Forms.Ocr.IOcrEngine.Shutdown()
void Shutdown();
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2