|L_OcrEngine engine;||handle to the OCR engine|
Destroys the created OCR engine and all engine managers like setting manager, language manager, ...etc.
|engine||Handle to the OCR engine.|
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
This function will shutdown the OCR engine and free all engine managers like setting manager, language manager, ...etc.
The difference between this function and L_OcrEngine_Shutdown is that this function as stated above will reset any engine settings user changed like changes he/she made to the settings manager, language manager and the rest of the engine managers since it destroys/free all of these, while L_OcrEngine_Shutdown only shuts down the engine but it keeps the engine changed settings until the next time the user wish to start the engine again.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
|Functions:||L_OcrEngineManager_CreateEngine, L_OcrEngine_Startup, L_OcrEngine_Shutdown, L_OcrEngine_GetEngineType, L_OcrEngine_IsStarted, L_OcrEngine_GetSettingManager, L_OcrEngine_GetLanguageManager, L_OcrEngine_GetSpellCheckManager, L_OcrEngine_GetZoneManager, L_OcrEngine_GetDocumentManager, L_OcrEngine_GetAutoRecognizeManager, L_OcrEngine_GetWorkDirectory, L_OcrEngine_GetEngineDirectory|
|Topics:||Programming with LEADTOOLS OCR Module - LEAD Engine|
|Starting and Shutting Down the OCR Engine|
|LEADTOOLS OCR Module - LEAD Engine Settings|
For an Example, refer to L_OcrPage_GetBitmap