---
title: "HistoryData..::.applyState Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_HistoryData_applyState.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 historyData state to the specified [History](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_History.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo.HistoryData.applyState = function(historyData, history);
```
 
### Parameters
 
 - historyData
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo.HistoryData](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_HistoryData.htm.md)
The state to apply.

 - history
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo.HistoryData](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_HistoryData.htm.md)
History to apply the state to.
   
## See Also

### Reference

- [HistoryData Class](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_HistoryData.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo.htm.md)
