---
title: "Bitmap..::.Undo Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Bitmap_Undo.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.Undo Method 
 
Undoes last made change.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Overridable Sub Undo
```
 
```csharp
public virtual void Undo()
```
 
### Implements
 
[IStateNavigable.Undo()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_IStateNavigable_Undo.htm.md)
 
## Remarks
 This method can be used only if you have saved object state at least once (using method [SaveState()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Bitmap_SaveState.htm.md)). If no states to undo are available, method will fail. You can check this with [CanUndo](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Bitmap_CanUndo.htm.md) property. 
**Note**
When you call this method, events [Undoing](https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_Bitmap_Undoing.htm.md)/[Undone](https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_Bitmap_Undone.htm.md) fires instead of [Changing](https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_Bitmap_Changing.htm.md)/[Changed](https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_Bitmap_Changed.htm.md).
   
## See Also

### Reference

- [Bitmap Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
- [Undo Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Bitmap_Undo.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
