#include "ltdoc2.h"
L_LTDOC2_API L_INT L_Doc2GetCharLangsOptionsExt(hDoc, nDocId, pCharOpts, uStructSize)
Gets the current character options for the currently activated languages.
Handle to the OCR document.
Document ID created by calling L_Doc2CreateDocument.
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. |
L_Doc2GetCharLangsOptionsExt gets the current character options for the currently activated languages.
To activate recognized languages, call L_Doc2SelectLanguages / L_Doc2SelectLanguagesExt.
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_Doc2SelectLanguagesExt.