API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Language Settings Functions > IG_REC_languages_set |
Defines the main part of the Language environment of the Character Set. The available languages are represented by enumIGRecLanguages.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_languages_set( enumIGRecLangEnable* pLanguages ); |
Name | Type | Description |
---|---|---|
pLanguages | enumIGRecLangEnable* | Address enumIGRecLangEnable array containing the enabled/disabled information for each recognition language available. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0; enumIGRecLangEnable eLangEnabled[IG_REC_LANG_SIZE] = {IG_REC_LANG_DISABLED}; eLangEnabled[IG_REC_LANG_ENG] = IG_REC_LANG_ENABLED; ErrCount += IG_REC_spelling_is_enabled_set(TRUE); ErrCount += IG_REC_correction_is_enabled_set(TRUE); ErrCount += IG_REC_spelling_language_set(IG_REC_LANG_ENG); ErrCount += IG_REC_languages_set(eLangEnabled); |