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)
Public Overridable ReadOnly Property UndoStepCount As Integer
public virtual int UndoStepCount { get; }
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.