L_Doc2SetCharLangsOptionsExt

#include "ltdoc2.h"

L_LTDOC2_API L_INT L_Doc2SetCharLangsOptionsExt(hDoc, nDocId, pCharOpts)

Sets character options for the currently activated languages in the OCR document engine.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

L_INT nDocId

Document ID created by calling L_Doc2CreateDocument.

pCHAROPTIONS2 pCharOpts

Pointer to a CHAROPTIONS2 structure containing the options to be set in the OCR document engine.

Returns

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

Comments

To get the currently supported languages, call the L_Doc2GetSupportedLanguages function.

To activate your recognized languages, call the L_Doc2SelectLanguages / L_Doc2SelectLanguagesExt function.

To get the character options for the current activated languages, call the L_Doc2GetSelectedLanguages / L_Doc2GetSelectedLanguagesExt function.

Required DLLs and Libraries

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

LEADTOOLS OCR Module - OmniPage Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.