L_OcrLanguageManager_GetEnabledLanguages

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrLanguageManager_GetEnabledLanguages(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 enabled languages
L_UINT* count; pointer to L_UINT variable to be updated with number of enabled languages

Gets an array of the currently enabled 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 enabled languages . You should call L_OcrMemory_Free to free the allocated memory.
count Pointer to L_UINT variable to be updated with number of enabled languages.

Returns

SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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

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.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Advantage OCR C API Help