ImageGear Professional v18.2 > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Language Settings Functions > IG_REC_languages_get |
Retrieves the current language selection.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_languages_get( enumIGRecLangEnable* pLanguages ); |
Name | Type | Description |
pLanguages | enumIGRecLangEnable* | Pointer to an array to get the current language selection. The size of the array must be IG_REC_LANG_SIZE. Index of each element of this array represents a language (enumIGRecLanguages), that is, pLanguages[IG_REC_LANG_ENG] == TRUE means that English language is selected. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0; enumIGRecLangEnable eLangEnabled[IG_REC_LANG_SIZE] = {IG_REC_LANG_DISABLED}; 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_get(eLangEnabled); |
The Language environment is primarily determined by the language selection, optionally supplemented by the LanguagesPlus characters setting.