#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrSpellCheckManager_GetSupportedLanguages(spellCheckManager, value, count)
L_OcrSpellCheckManager spellCheckManager; | handle to the OCR engine spell check manager |
L_OcrLanguage** value; | pointer to L_OcrLanguage* variable to be updated with list of supported spell check languages |
L_UINT* count; | pointer to L_UINT variable to be updated with number of supported spell check languages |
Gets the languages supported by the current spell check engine.
Parameter | Description |
---|---|
spellCheckManager | OCR engine spell check manager handle. |
value | 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. |
count | Pointer to L_UINT variable to be updated with number of supported spell check languages. |
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 OCR Advantage engine runtime folder.
Note: You should call L_OcrMemory_Free to free the memory allocated for the 'value' parameter.
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.