L_OcrLanguageManager_GetEnabledLanguages

Summary

Gets an array of the currently enabled languages by the OCR engine.

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrLanguageManager_GetEnabledLanguages(languageManager, value, count)

Parameters

L_OcrLanguageManager languageManager

OCR engine language manager handle.

L_OcrLanguage** 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.

L_UINT* count

Pointer to L_UINT variable to be updated with number of enabled languages.

Returns

Value Meaning
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

See Also

Functions

Topics

Example

For an example, refer to L_OcrEngine_GetLanguageManager

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.