L_OcrSpellCheckManager_GetSupportedLanguages (original) (raw)
Summary
Gets the languages supported by the current spell check engine.
Syntax
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrSpellCheckManager_GetSupportedLanguages(spellCheckManager, value, count)
Parameters
L_OcrSpellCheckManager spellCheckManager
OCR engine spell check manager handle.
L_OcrLanguage** 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.
L_UINT* count
Pointer to L_UINT variable to be updated with number of supported spell check languages.
Returns
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Comments
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.
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.
See Also
Functions
- L_OcrSpellCheckManager_IsLanguageSupported
- L_OcrSpellCheckManager_GetSpellCheckEngine
- L_OcrSpellCheckManager_SetSpellCheckEngine
- L_OcrSpellCheckManager_AddUserWords
Topics
- Programming with LEADTOOLS OCR Module - LEAD Engine
- Starting and Shutting Down the OCR Engine
- OCR Languages and Spell Checking
- OCR Spell Language Dictionaries
Example
For an example, refer to L_OcrEngine_GetSpellCheckManager