#include "ltdoc2.h"
L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2GetDefaultSpellLanguages(hDoc, ppLangIds, pnLangCount)
Gets the default spell languages from the OCR document engine.
Handle to the OCR document.
Pointer to DOC2_LANGIDS array to be updated with the default spell languages.
Pointer to an integer to be updated with the language element counts.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
All available languages are the default languages and are always used when checking spelling.
The content of the resulting list depends on the configuration of the OCR document engine, that is, which Language dictionary files are in the engine Binary directory. For a list of supported languages, refer to the Language Dictionary List function.
Required DLLs and Libraries
For an example, refer to L_Doc2Recognize.