#include "ltdoc2.h"
L_LTDOC2_API L_INT L_Doc2LoadSettingsExt(hDoc, nDocId, pszFileName)
Loads settings from an OCR engine settings file.
Handle to the OCR document.
IDocument ID create by calling L_Doc2CreateDocument.
Character string containing the name of the OCR engine settings file.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Loads settings from a settings file that was previously saved by a call to the L_Doc2SaveSettings / L_Doc2SaveSettingsExt function.
To save engine settings to a file, call the L_Doc2SaveSettings / L_Doc2SaveSettingsExt function.
Required DLLs and Libraries