#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrLanguageManager_GetLanguageValue(name, value)
Gets the equivalent language ID for the passed language name.
OCR language name.
Pointer to L_OcrLanguage variable to be updated.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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
For an example, refer to L_OcrEngine_GetLanguageManager