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 (Declaration) |
|---|
Public Overridable ReadOnly Property UndoStepCount As Integer |
| C# |
|---|
public virtual int UndoStepCount { get; } |
| Visual C++ |
|---|
public: virtual property int UndoStepCount { int 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.