Nicomsoft OCR: Developer's Guide


Engine_Uninitialize


Syntax

C++:int Engine_Uninitialize()
C#: int Engine_Uninitialize()
Visual Basic: Function Engine_Uninitialize as Integer
Java:int Engine_Uninitialize()
Delphi:function Engine_Uninitialize():integer


Description

Releases all created objects and uninitializes the NSOCR engine. Call this function only when NSOCR is not needed anymore.


Parameters

None.


Return value

Zero if success, otherwise an error code.


Remarks

Call this function only once. Any subsequent calls without calling the Engine_Initialize or Engine_InitializeAdvanced functions will be ignored.
If you need to process multiple images, do not initalize/uninitialize NSOCR every time (for performance reasons).


Example

See the sample code for the Engine_Initialize function.