LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
IsStarted Property
See Also 
Leadtools.Forms.Ocr Namespace > IOcrEngine Interface : IsStarted Property



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

Determines whether this IOcrEngine has been started and is ready to be used.

Syntax

Visual Basic (Declaration) 
ReadOnly Property IsStarted As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IOcrEngine
Dim value As Boolean
 
value = instance.IsStarted
C# 
bool IsStarted {get;}
C++/CLI 
property bool IsStarted {
   bool get();
}

Property Value

true if this IOcrEngine has been started and is ready to be used, otherwise it is false.

Example

For an example, refer to Startup.

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 Leadtools.Forms.Ocr.IOcrEngine.IsStarted property.

You must call Leadtools.Forms.Ocr.IOcrEngine.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 Leadtools.Forms.Ocr.IOcrEngine.Shutdown for each Startup called.

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

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

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