---
title: "Canvas..::.LoadPostData Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_LoadPostData_2_aa40c260.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/)

# Canvas.LoadPostData Method 
 
Processes post back data for the [Canvas](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md). No need to use this method explicitly.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Public Function LoadPostData ( _postDataKey As String, _postCollection As NameValueCollection _
) As Boolean
```
 
```csharp
public bool LoadPostData(string postDataKey,NameValueCollection postCollection
)
```
 
### Parameters
 
 - postDataKey
     - Type: [System.String](http://msdn2.microsoft.com/en-us/s1wwdcbf)
The key identifier for the control.

 - postCollection
     - Type: [System.Collections.Specialized.NameValueCollection](http://msdn2.microsoft.com/en-us/689y5thy)
The collection of all incoming name values.
 
### Return Value
 **true** if the server control's state changes as a result of the post back; otherwise **false**.
 
### Implements
 
[IPostBackDataHandler.LoadPostData(String, NameValueCollection)](http://msdn2.microsoft.com/en-us/hta2f1y2)
   
## See Also

### Reference

- [Canvas Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
