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

Returns the length of the current LanguagesPlus string.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_languagesplus_length_get(
   LPAT_INT lpLength
);

Arguments:

Name Type Description
lpLength LPAT_INT Pointer to a variable to get the number of wide char characters in the current LanguagesPlus string excluding 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 iLPLength = 0;
ErrCount += IG_REC_languagesplus_set(L"AaBbCc"); 
ErrCount += IG_REC_languagesplus_length_get(&iLPLength);