---
title: "Canvas Methods "
canonical: https://www.graphicsmill.com/docs/gm5/Methods_T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.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 Methods 
 
The [Canvas](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md) type exposes the following members.
 
## Methods

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [AddedControl](http://msdn2.microsoft.com/en-us/ey947t5s) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [AddParsedSubObject](http://msdn2.microsoft.com/en-us/6sd06508) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ApplyStyleSheetSkin](http://msdn2.microsoft.com/en-us/w0h0wky0) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [BuildProfileTree](http://msdn2.microsoft.com/en-us/fh4c2eyz) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Clear](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_Clear.htm.md) |  Clears all the [LayerCollection](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerCollection.htm.md) instances associated with this canvas. |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [ClearChildControlState](http://msdn2.microsoft.com/en-us/94b0sxax) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [ClearChildState](http://msdn2.microsoft.com/en-us/9hf8b5x4) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [ClearChildViewState](http://msdn2.microsoft.com/en-us/eas01c0c) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [CreateChildControls](http://msdn2.microsoft.com/en-us/7y650wsh) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [CreateControlCollection](http://msdn2.microsoft.com/en-us/cwxztyx4) |  (Inherited from [HtmlControl](http://msdn2.microsoft.com/en-us/khc6t495).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [DataBind](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_DataBind.htm.md) |  Overloaded. |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [DataBindChildren](http://msdn2.microsoft.com/en-us/3x3s2tz4) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Deserialize](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_Deserialize_1_bb3a7a4f.htm.md) |  Deserializes the canvas and its layers. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Dispose](http://msdn2.microsoft.com/en-us/970ty6es) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [EnsureChildControls](http://msdn2.microsoft.com/en-us/19ckw0e5) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [EnsureID](http://msdn2.microsoft.com/en-us/tsxh3b71) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Equals](http://msdn2.microsoft.com/en-us/bsc2ak47) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [Finalize](http://msdn2.microsoft.com/en-us/4k87zsw7) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [FindControl](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_FindControl.htm.md) |  Overloaded. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Focus](http://msdn2.microsoft.com/en-us/fh9c6a4c) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [GetAttribute](http://msdn2.microsoft.com/en-us/yax21az4) |  (Inherited from [HtmlControl](http://msdn2.microsoft.com/en-us/khc6t495).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [GetDesignModeState](http://msdn2.microsoft.com/en-us/czswds5c) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetHashCode](http://msdn2.microsoft.com/en-us/zdee4b3y) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [GetScriptDescriptors](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_GetScriptDescriptors.htm.md) |  Returns a list of components, behaviors, and client controls that are required for the client-side functionality of the [Canvas](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md). |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [GetScriptReferences](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_GetScriptReferences.htm.md) |  Returns script files for the [Canvas](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetType](http://msdn2.microsoft.com/en-us/dfwy45w9) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [HasControls](http://msdn2.microsoft.com/en-us/6b1zea5k) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [HasEvents](http://msdn2.microsoft.com/en-us/7ez1zta6) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [IsLiteralContent](http://msdn2.microsoft.com/en-us/c5zkx4x3) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [LoadControlState](http://msdn2.microsoft.com/en-us/cbbk4b33) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [LoadPostData](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_LoadPostData_2_aa40c260.htm.md) |  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. |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [LoadViewState](http://msdn2.microsoft.com/en-us/54tcwfe4) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [MapPathSecure](http://msdn2.microsoft.com/en-us/0z8yhy2z) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [MemberwiseClone](http://msdn2.microsoft.com/en-us/57ctke0a) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OnBubbleEvent](http://msdn2.microsoft.com/en-us/6xa1t4t9) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OnDataBinding](http://msdn2.microsoft.com/en-us/f9e7sbxh) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OnLoad](http://msdn2.microsoft.com/en-us/ds9cf97s) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OnUnload](http://msdn2.microsoft.com/en-us/h27s82as) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [OnZoomChanged](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_OnZoomChanged.htm.md) |  Raises the [ZoomChanged](https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_ZoomChanged.htm.md) event. |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [OpenFile](http://msdn2.microsoft.com/en-us/h2eza2ch) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [RaiseBubbleEvent](http://msdn2.microsoft.com/en-us/wt8sh39w) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [RaisePostDataChangedEvent](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_RaisePostDataChangedEvent.htm.md) |  Signals the server control object to notify the ASP.NET application that the state of the control has changed. No need to use this method explicitly. |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [RemovedControl](http://msdn2.microsoft.com/en-us/7f027kh9) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [RenderAttributes](http://msdn2.microsoft.com/en-us/e842cbwk) |  (Inherited from [HtmlControl](http://msdn2.microsoft.com/en-us/khc6t495).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [RenderBeginTag](http://msdn2.microsoft.com/en-us/645e52wy) |  (Inherited from [HtmlControl](http://msdn2.microsoft.com/en-us/khc6t495).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [RenderChildren](http://msdn2.microsoft.com/en-us/5ya0d8es) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [RenderControl](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_RenderControl.htm.md) |  Overloaded. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [RenderWorkspace](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_RenderWorkspace_2_67f0adce.htm.md) |  Renders all v-object in the workspace into a raster image with the specified resolution and color space. |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [ResolveAdapter](http://msdn2.microsoft.com/en-us/c79w12c1) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ResolveClientUrl](http://msdn2.microsoft.com/en-us/ft88k42a) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ResolveUrl](http://msdn2.microsoft.com/en-us/5zd4ftkd) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [SaveControlState](http://msdn2.microsoft.com/en-us/h65txcfk) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [SaveViewState](http://msdn2.microsoft.com/en-us/wxza8b0t) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Serialize](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_Serialize.htm.md) |  Serializes the canvas and its layers. |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [SetAttribute](http://msdn2.microsoft.com/en-us/69azakf0) |  (Inherited from [HtmlControl](http://msdn2.microsoft.com/en-us/khc6t495).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [SetDesignModeState](http://msdn2.microsoft.com/en-us/7dha1xc5) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [SetRenderMethodDelegate](http://msdn2.microsoft.com/en-us/z75s7yac) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToString](http://msdn2.microsoft.com/en-us/7bxwbwt2) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [TrackViewState](http://msdn2.microsoft.com/en-us/0ccyz455) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 
## Explicit Interface Implementations

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [IParserAccessor.AddParsedSubObject](http://msdn2.microsoft.com/en-us/bb298711) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [IAttributeAccessor.GetAttribute](http://msdn2.microsoft.com/en-us/bb352015) |  (Inherited from [HtmlControl](http://msdn2.microsoft.com/en-us/khc6t495).) |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [ICallBackDataHandler.GetCallBackExecutionCode](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_Aurigma_GraphicsMill_AjaxControls_ICallBackDataHandler_GetCallBackExecutionCode.htm.md) |   |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [ICallbackEventHandler.GetCallbackResult](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_System_Web_UI_ICallbackEventHandler_GetCallbackResult.htm.md) |   |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [IControlDesignerAccessor.GetDesignModeState](http://msdn2.microsoft.com/en-us/bb302034) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [IScriptControl.GetScriptDescriptors](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_System_Web_UI_IScriptControl_GetScriptDescriptors.htm.md) |   |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [IScriptControl.GetScriptReferences](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_System_Web_UI_IScriptControl_GetScriptReferences.htm.md) |   |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [ICallbackEventHandler.RaiseCallbackEvent](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_System_Web_UI_ICallbackEventHandler_RaiseCallbackEvent_1_bb3a7a4f.htm.md) |   |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [IAttributeAccessor.SetAttribute](http://msdn2.microsoft.com/en-us/bb340126) |  (Inherited from [HtmlControl](http://msdn2.microsoft.com/en-us/khc6t495).) |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [IControlDesignerAccessor.SetDesignModeState](http://msdn2.microsoft.com/en-us/bb338971) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
 |  ![Explicit interface implemetation](https://www.graphicsmill.com/docs/gm5/icons/pubinterface.gif) ![Private method](https://www.graphicsmill.com/docs/gm5/icons/privmethod.gif) |  [IControlDesignerAccessor.SetOwnerControl](http://msdn2.microsoft.com/en-us/bb360520) |  (Inherited from [Control](http://msdn2.microsoft.com/en-us/983zwx2h).) |
   
## 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)
