#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrSettingManager_saveFile(settingManager, fileName, xmlOptions)
| L_OcrSettingManager settingManager; | handle to the OCR engine setting manager |
| const L_TCHAR* fileName; | The name of the file containing the settings |
| const L_OcrWriteXmlOptions* xmlOptions; | XML options to use |
Loads the OCR engine settings from a disk file.
| Parameter | Description |
|---|---|
| settingManager | Handle to the OCR engine setting manager. |
| fileName | The name of the file containing the settings. |
| xmlOptions | XML options to use. |
| SUCCESS | The function was successful. |
| < 1 | An error occurred. Refer to Return Codes. |
Loads the OCR engine settings from a disk file.
Once you set up the OCR engine, you can re-use these settings by saving the engine state into XML file on disk. You can later reload these settings and use them in the same or different instance of L_OcrEngine.
Required DLLs and Libraries
| LTOCR For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
For an example, refer to L_OcrSettingManager_LoadFile.