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

MultiLayerViewer.Undo Method (Int32)

Undoes a specified number of the last actions.

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

Syntax

Visual Basic
Public Sub Undo ( _
	undoStepCount As Integer _
)
C#
public void Undo(
	int undoStepCount
)

Parameters

undoStepCount

Type: System.Int32

Number of steps to undo.

Remarks

If the undoStepCount argument is larger than the number of steps available to undo, this method will fail. To avoid this, use the UndoStepCount property to retrieve the number of available undo steps.

See Also

Reference