This function reverses any changes made to any mark.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ART_edit_undo(HIGEAR hIGear); |
Arguments:
Name | Type | Description |
hIGear | HIGEAR | HIGEAR handle to the image. |
Return Value:
Returns the number of ImageGear errors that occurred during the function call.
Supported Raster Image Formats:
All pixel formats supported by ImageGear Professional.
Sample:
Annotation
Example:
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); |
Remarks:
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:
- hIGear does not reference a valid ImageGear handle.