L_OcrLanguageManager_GetLanguageValue

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrLanguageManager_GetLanguageValue(name, value)

const L_TCHAR* name; OCR language name
L_OcrLanguage* value; pointer to L_OcrLanguage variable to be updated

Gets the equivalent language ID for the passed language name.

Parameter Description
name OCR language name.
value Pointer to L_OcrLanguage variable to be updated.

Returns

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

Comments

Gets the equivalent language ID for the passed language name. passed language name should conform to 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, for example "en" for English language or "zh-hans" for Chinese simplified language.

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 20.0.2018.1.19
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS OCR Module - LEAD Engine C API Help