ImageGear Professional DLL v17.1 for Windows Accusoft
IG_REC_languages_get
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Language Settings Functions > IG_REC_languages_get

Glossary Item Box

Retrieves the current language selection.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_languages_get(
   enumIGRecLangEnable * pLanguages
);

Arguments:

pLanguages 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.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

The Language environment is primarily determined by the language selection, optionally supplemented by the LanguagesPlus characters setting.

Example:

  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);

©2012. Accusoft Corporation. All Rights Reserved.