#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrSpellCheckManager_IsLanguageSupported(spellCheckManager, value)
L_OcrSpellCheckManager spellCheckManager; | handle to the OCR engine spell check manager |
L_OcrLanguage value; | language ID to check for |
Determine whether a given spell language is supported by the current spell checker.
Parameter | Description |
---|---|
spellCheckManager | OCR engine spell check manager handle. |
value | language ID to check if supported |
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.
Required DLLs and Libraries
LTOCR For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
For an example, refer to L_OcrEngine_GetSpellCheckManager.