L_OcrLanguageManager_GetLanguageName

Summary

Call this function to get the language name, this could be an ISO 639 two-letter lowercase culture code associated with a language or a combination of ISO 630 and ISO 3166 two-letter uppercase subculture codes associated with a country or region.

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrLanguageManager_GetLanguageName(value, name, nameCount)

Parameters

L_OcrLanguage value

OCR language ID. For list of possible value, refer to L_OcrLanguage enum.

L_TCHAR* name

Allocated string buffer to hold the language name.

L_UINT nameCount

Number of the allocated string buffer elements, this should be _countof(value).

Returns

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

Comments

Call this function to get the language name, this could be an ISO 639 two-letter lowercase culture code associated with a language or a combination of ISO 630 and ISO 3166 two-letter uppercase subculture codes associated with a country or region.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_OcrEngine_GetLanguageManager

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.