---
title: "HistoryData..::.ApplyState Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_HistoryData_ApplyState_1_1ff2150d.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/)

# HistoryData.ApplyState Method 
 
Applies the stored state to the specified [History](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_History.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Public Sub ApplyState ( _h As History _
)
```
 
```csharp
public void ApplyState(History h
)
```
 
### Parameters
 
 - h
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo.History](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_History.htm.md)
History to apply the state to.
   
## See Also

### Reference

- [HistoryData Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_HistoryData.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo.htm.md)
