Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

Bitmap.UndoStepCount Property

Returns number of available undo levels (i.e. how much time method Undo() can be called).

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

Syntax

Visual Basic
Public Overridable ReadOnly Property UndoStepCount As Integer
C#
public virtual int UndoStepCount { get; }

Property Value

Number of available undo steps (levels).

Remarks

Graphics Mill for .NET has internal bitmap changes stack. This property return the distance from the current stack position to the stack bottom.

If you try to pass to Undo(Int32) method value which is larger than this property, exception will be raised.

See Also

Reference