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

Bitmap.Undo Method

Undoes last made change.

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

Syntax

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

Remarks

This method can be used only if you have saved object state at least once (using method SaveState()). If no states to undo are available, method will fail. You can check this with CanUndo property.
Note

When you call this method, events Undoing/Undone fires instead of Changing/Changed.

See Also

Reference