L_OcrSettingManager_SaveFile

#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.

Returns

SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Advantage OCR C API Help