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

IStateNavigable.Undo Method (Int32)

Undoes specified number of last changes.

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

Syntax

Visual Basic
Sub Undo ( _
	steps As Integer _
)
C#
void Undo(
	int steps
)

Parameters

steps

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.

See Also

Reference