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

Returns ID of the settings collection being used in the current thread.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_settings_collection_ID_get(
   LPAT_INT lpSettingsId
);

Arguments:

Name Type Description
lpSettingsId LPAT_INT Buffer to return ID of the current settings collection.

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 nSettingsId = 0;
ErrCount = IG_REC_settings_collection_ID_get(&nSettingsId);