---
title: "IStateNavigable..::.Undo Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_IStateNavigable_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/)

# IStateNavigable.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
  
```
Sub Undo
```
 
```csharp
void Undo()
```
 
## 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_IStateNavigable_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_IStateNavigable_CanUndo.htm.md) property.
   
## See Also

### Reference

- [IStateNavigable Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_IStateNavigable.htm.md)
- [Undo Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_IStateNavigable_Undo.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
