ImageGear Professional > API Reference Guide > ART Component API Reference > ART Component Functions Reference > Edit Undo Functions > ART_edit_undo |
This function reverses any changes made to any mark.
Copy Code
|
|
---|---|
AT_ERRCOUNT ART_edit_undo(HIGEAR hIGear); |
Name | Type | Description |
hIGear | HIGEAR | HIGEAR handle to the image. |
Returns the number of ImageGear errors that occurred during the function call.
All pixel formats supported by ImageGear Professional.
Copy Code
|
|
---|---|
HIGEAR hIGear; /* HIGEAR handle of image */ AT_ERRCOUNT nErrcount; /* tally of IG errors on */ /* stack */ HWND hWnd; /* Windows handle to */ /* image window */ nErrcount = ART_edit_undo(hIGear); nErrcount = ART_GUI_mark_paint(hIGear, IG_GRP_DEFAULT, ART_INVALID_ID, hWnd, TRUE); |
Reversible operations include: creation, modification, selection, and deletion of marks. To clear the list of undo operations stored in memory, call ART_edit_undo_clear() function.
An error is set if any of the following conditions are met: