ImageGear Professional v18.2 > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Settings Management Functions > IG_REC_settings_collection_ID_set |
Sets settings collection to be used in the current thread in many functions, such as IG_REC_image_preprocess, and so on.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_settings_collection_ID_set( AT_INT nSettingsId ); |
Name | Type | Description |
nSettingsId | AT_INT | ID of the settings collection to be used in the functions. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0; AT_INT nSettingsId = 0; ErrCount += IG_REC_settings_collection_create(-1, &nSettingsId); ErrCount += IG_REC_settings_collection_ID_set(nSettingsId); ErrCount += IG_REC_settings_collection_ID_set(0); ErrCount += IG_REC_settings_collection_delete(nSettingsId); |