ImageGear for C and C++ on Windows v19.8 - Updated
IG_REC_UD_edit_close
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > User Dictionary Functions > IG_REC_UD_edit_close

Closes the User dictionary previously opened by the IG_REC_UD_edit_open function.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_UD_edit_close();

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; 
ErrCount += IG_REC_UD_set(NULL, NULL);
ErrCount += IG_REC_UD_edit_open();
//...
ErrCount += IG_REC_UD_edit_close();

Remarks:

To save the latest changes made to the User dictionary, a call to the IG_REC_UD_save is necessary before calling this function.