ImageGear for C and C++ on Windows v19.10 - Updated
IG_REC_languagesplus_get
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Language Settings Functions > IG_REC_languagesplus_get

Inquires the current contents of the LanguagesPlus characters setting.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_languagesplus_get(
   LPCWSTR pLanguagesPlus,
   AT_INT nBufferSize
);

Arguments:

Name Type Description
pLanguagesPlus LPCWSTR Pointer to a buffer to get the string of characters validated by the current LanguagesPlus setting in UNICODE.
nBufferSize AT_INT Specifies the size of the pLanguagesPlus buffer in bytes. It must be large enough to hold all the characters and the terminating zero.

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.

Example:

 
Copy Code
AT_ERRCOUNT ErrCount = 0;
AT_INT iSize = 1024;
LPWSTR lpszLangsPlus = (LPWSTR) malloc(iSize);
ErrCount += IG_REC_languagesplus_get((LPCWSTR)lpszLangsPlus, iSize);
free(lpszLangsPlus);