---
title: "MultiLayerViewer..::.Undo Method "
canonical: https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_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/)

# MultiLayerViewer.Undo Method 
 
Undoes the last made change.
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Undo()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_Undo.htm.md) |  Undoes the last made change. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Undo(Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_Undo_1_e1836fc4.htm.md) |  Undoes a specified number of the last actions. |
 
## Remarks
  
This method can be used only if you have saved the viewer state at least once using the [SaveState()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_SaveState.htm.md) method. If no saved states are available, the method will fail. You can check if the saved states exist using the [CanUndo](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_CanUndo.htm.md) property.
   
## See Also

### Reference

- [MultiLayerViewer Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_MultiLayerViewer.htm.md)
- [MultiLayerViewer Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_WinControls_MultiLayerViewer.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
