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.
Remarks:
- The program should call IG_REC_UD_edit_close for proper closing before terminating the recognition engine with the IG_REC_close call.
- Changes made to the User dictionary need a separate saving step with the IG_REC_UD_save function before the dictionary is closed.
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();
|