ImageGear Professional for Windows ActiveX
Undoing Edits

The IGArtPage Object maintains an "undo stack". This is a LIFO stack of actions performed by the IGArtPage Object. The various actions that are recorded in the "undo stack" are mark creation, modification and deletion. Your application can turn this recording on and off. At any time (for instance, in reaction to the user clicking an "Undo" menu item), your application can call the "undo" method to have the last action popped off of the stack and reversed. The various methods used with the "undo stack" are as follows: :

EditUndo Method Reverses (performs undo operations to) an action.
EditUndoClear Method Clears all pending undo operations from the "undo stack".
EditUndoCount Method Returns the number of entries in the "undo stack" (so that your application can disable the "Undo" menu item when the count is 0).
EditUndoRecord Method Enables or disables the recording of actions in the "undo stack". Note that turning off recording does not clear the stack.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback