Determine whether a given spell language is supported by the current spell checker.
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrSpellCheckManager_IsLanguageSupported(spellCheckManager, value)
OCR engine spell check manager handle.
language ID to check if supported
Value | Meaning |
---|---|
SUCCESS | Language is supported |
< 1 | Language is not supported. Refer to Return Codes. |
Determine whether a given spell language is supported by the current spell checker.
You can get the names of all the spell languages supported by the engine with the L_OcrSpellCheckManager_GetSupportedLanguages method.
For an example, refer to L_OcrEngine_GetSpellCheckManager