#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.
Handle to the OCR document.
Pointer to a CHAROPTIONS2 structure, which contains the options to be set in the OCR document engine.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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
For an example, refer to L_Doc2SelectLanguages.