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

Glossary Item Box

Sets settings collection to be used in the current thread in many functions, such as IG_REC_image_preprocess, and so on.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_settings_collection_ID_set(
   AT_INT nSettingsId
);

Arguments:

nSettingsId ID of the settings collection to be used in the functions.

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

©2012. Accusoft Corporation. All Rights Reserved.