#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrLanguageManager_GetSupportedLanguages(languageManager, value, count)
L_OcrLanguageManager languageManager; | handle to the OCR engine language manager |
L_OcrLanguage** value; | pointer to L_OcrLanguage* variable to be updated with list of supported languages |
L_UINT* count; | pointer to L_UINT variable to be updated with number of supported languages |
Gets an array of the supported languages by the OCR engine.
Parameter | Description |
---|---|
languageManager | OCR engine language manager handle. |
value | Pointer to L_OcrLanguage* variable to be updated with list of supported 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 languages. |
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Gets an array of the supported languages by the OCR engine.
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_GetLanguageManager.