L_OcrLanguageManager_GetLanguageName

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrLanguageManager_GetLanguageName(value, name, nameCount)

L_OcrLanguage value; OCR language ID
L_TCHAR* name; allocated string buffer to hold the language name
L_UINT nameCount; number of the allocated string buffer elements

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.

Parameter Description
engine OCR language ID. For list of possible value, refer to L_OcrLanguage enum.
value Allocated string buffer to hold the language name.
count Number of the allocated string buffer elements, this should be _countof(value).

Returns

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

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