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

Opens a User dictionary for editing purposes: to list its contents (its sections or their items), to add or delete UDitems, and to save the changes.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_UD_edit_open();

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:

  1. The program should call IG_REC_UD_edit_close for proper closing before terminating the recognition engine with the IG_REC_close call.
  2. Changes made to the User dictionary need a separate saving step with the IG_REC_UD_save function before the dictionary is closed.