This method removes the last change to the annotation object and returns it to its previous state.

[Visual Basic] Public Function Undo() As Boolean
[C#] public bool Undo();

Parameters

None

Return Value

Returns True if successful, otherwise returns False.

Explanation

The Undo method removes the last change to the annotation object and returns it to its previous state.

Executing this method will delete the newest change made to the annotation objects and return them to the state prior to that last change. This is called an "undo step". Executing this method multiple times will continue removing changes until the number of undo steps defined in the UndoMax property has been reached. The Undo method will have no affect beyond the number of undo steps defined by the UndoMax property.

By using the Redo Method or by choosing "Redo" in the context menu, an undo step can be reversed. You can perform the same amount of redo steps as undo steps.

To perform the same function as executing this method, right click the object and display the context menu then select "Undo". For more details about the context menu, please refer to ContextMenuEnabled property.

See also

ImageKit.Edit Members | Newtone.ImageKit.Win.ImageKit

 

The ImageKit.NET3 is created by Newtone Corporation