---
title: "IStateNavigable..::.ClearUndoHistory Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_IStateNavigable_ClearUndoHistory.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.ClearUndoHistory Method 
 
Discards undo history.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Sub ClearUndoHistory
```
 
```csharp
void ClearUndoHistory()
```
 
## Remarks
  
This method removes all temporary files which keep undo history. Redo history is not removed.
   
## See Also

### Reference

- [IStateNavigable Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_IStateNavigable.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
- [IStateNavigable.ClearHistory()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_IStateNavigable_ClearHistory.htm.md)
- [IStateNavigable.ClearRedoHistory()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_IStateNavigable_ClearRedoHistory.htm.md)
