Is used to save the User dictionary to a file.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_UD_save( LPCSTR pFilename ); |
Name | Type | Description |
---|---|---|
pFilename | LPCSTR | Pointer to the name of the User dictionary file. If it is NULL, the current dictionary name will be used as set by a previous call to the IG_REC_UD_set function. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0; ErrCount += IG_REC_UD_set("NEW_USER.DICT", "Section_A"); ErrCount += IG_REC_UD_edit_open(); ErrCount += IG_REC_UD_item_add("Section_B", L"[A-Z]", IG_REC_UD_ITEM_ATTR_REGULAR_EXPRESSION); ErrCount += IG_REC_UD_item_delete("Section_B", L"[A-Z]", IG_REC_UD_ITEM_ATTR_REGULAR_EXPRESSION); ErrCount += IG_REC_UD_save("NEW_USER2.DICT"); ErrCount += IG_REC_UD_edit_close(); |