Undoes specified number of last changes.

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

Syntax

Visual Basic

Public Overridable Sub Undo ( _
	undoSteps As Integer _
)

C#

public virtual void Undo(
	int undoSteps
)

Parameters

undoSteps

Type: System..::.Int32

Number of steps to undo.

Remarks

If steps argument is larger than number of steps available to undo, method will fail. To avoid this, use UndoStepCount property to check how much steps are left.