#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrLanguageManager_GetEnabledLanguages(languageManager, value, count)
Gets an array of the currently enabled languages by the OCR engine.
OCR engine language manager handle.
Pointer to L_OcrLanguage* variable to be updated with list of enabled languages. You should call L_OcrMemory_Free to free the allocated memory.
Pointer to L_UINT variable to be updated with number of enabled languages.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Gets an array of the currently enabled 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
For an example, refer to L_OcrEngine_GetLanguageManager