L_Doc2SetCharLangsOptions

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2SetCharLangsOptions(hDoc, pCharOpts)

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

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

pCHAROPTIONS2 pCharOpts

Pointer to a CHAROPTIONS2 structure, which contains 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 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