Gets the languages supported by the current spell check engine.
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrSpellCheckManager_GetSupportedLanguages(spellCheckManager, value, count)
OCR engine spell check manager handle.
Pointer to L_OcrLanguage* variable to be updated with list of supported spell check languages. You should call L_OcrMemory_Free to free the allocated memory.
Pointer to L_UINT variable to be updated with number of supported spell check languages.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Gets the languages supported by the current spell check engine. These returned languages reflects the dictionary files found inside your LEADTOOLS OCR Module - LEAD Engine runtime folder.
Note: You should call L_OcrMemory_Free to free the memory allocated for the 'value' parameter.
For an example, refer to L_OcrEngine_GetSpellCheckManager