L_Doc2LoadSettingsExt

#include "ltdoc2.h"

L_LTDOC2_API L_INT L_Doc2LoadSettingsExt(hDoc, nDocId, pszFileName)

Loads settings from an OCR engine settings file.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

L_INT nDocId

IDocument ID create by calling L_Doc2CreateDocument.

L_TCHAR * pszFileName

Character string containing the name of the OCR engine settings file.

Returns

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

Comments

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

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help