ImageGear for C and C++ on Windows v19.6 - Updated
enumIGRecLangEnable
API Reference Guide > Recognition Component API Reference > Recognition Component Enumerations Reference > enumIGRecLangEnable

Language enable/disable. 

Values:

IG_REC_LANG_DISABLED The particular language is disabled.
IG_REC_LANG_ENABLED The particular language is enabled.

Remarks:

This defines the possible values for the language selection in the Language environment definition. This is supplied by the enum enumIGRecLanguages and used by the function IG_REC_languages_set.

The Character Set is primarily defined by the Language environment specified by IG_REC_languages_set. If no language is enabled, then only the digits, language-independent punctuation, and the miscellaneous characters are validated. Whenever at least one language is enabled (i.e., gets the IG_REC_LANG_ENABLED value), the unaccented lower and uppercase Latin-alphabet characters are validated in addition to the accented lower and uppercase letters defined for the enabled language(s). Language-specific punctuation is enabled with the language concerned. At present these only include the inverted question mark and inverted exclamation mark for Spanish.

To change the language selection, create an enumIGRecLanguages.IG_REC_LANG_SIZE sized array with this enumIGRecLangEnable type. Initialize all elements to enumIGRecLangEnable.IG_REC_LANG_DISABLED, then enable the required languages and pass the array to the IG_REC_languages_set function.