This function clears all pending undo operations from memory.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ART_edit_undo_clear(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:
None
Example:
Copy Code | |
---|---|
AT_ERRCOUNT nErrcount; HIGEAR hIGear; nErrcount = ART_edit_undo_clear(hIGear); |
Remarks:
A subsequent call to ART_edit_undo() has no effect on the marks associated with the specified HIGEAR image.
An error is set if any of the following conditions are met:
- hIGear does not reference a valid ImageGear handle.