This documentation is for the old version. Go to the latest Graphics Mill docs

MultiLayerViewer.Undo Method

Undoes the last made change.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)

Syntax

Visual Basic
Public Sub Undo
C#
public void Undo()

Remarks

This method can be used only if you have saved the viewer state at least once using the SaveState() method. If no saved states are available, the method will fail. You can check if the saved states exist using the CanUndo property.

Note

When this method is called, the Undoing/Undone events are raised.

See Also

Reference

Manual