#include "ltdoc2.h"
L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetCharLangsOptions(hDoc, pCharOpts, uStructSize)
Gets the current character options for the currently activated languages.
Handle to the OCR document.
Pointer to a CHAROPTIONS2 structure to be updated.
Size in bytes, of the structure pointed to by pCharOpts, use sizeof(CHAROPTIONS2) to calculate this value.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
To activate recognized languages, call the L_Doc2SelectLanguages / L_Doc2SelectLanguagesExt function.
To update the character options for the current activated languages, call the L_Doc2SetCharLangsOptions / L_Doc2SetCharLangsOptionsExt function.
Required DLLs and Libraries
For an example, refer to L_Doc2SelectLanguages.