---
title: "Bitmap..::.MaxUndoStepCount Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Bitmap_MaxUndoStepCount.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Bitmap.MaxUndoStepCount Property 
 
Gets/sets maximum number of available undo steps (levels).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Overridable Property MaxUndoStepCount As Integer
```
 
```csharp
public virtual int MaxUndoStepCount { get; set; }
```
 
### Property Value
Maximum number of available undo steps (levels).
 
### Implements
 
[IStateNavigable.MaxUndoStepCount](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_IStateNavigable_MaxUndoStepCount.htm.md)
 
## Remarks
  
Graphics Mill for .NET has internal bitmap changes stack. This property return maximum depth of this stack. Default value is 10.
 
**Note** 
It is not recommended to specify too large values for this property until it is necessary indeed. Each stored bitmap state consumes a number of system resources (file handles, disk space), that's why if you specify large value and user make a big number of actions, it will take too much resources.
   
## See Also

### Reference

- [Bitmap Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
