---
title: "Canvas Methods "
canonical: https://www.graphicsmill.com/docs/gmwc/Methods_T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# Canvas Methods 

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
The [Canvas](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md) type exposes the following members.
 
## Methods

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [addSelectedVObject](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_addSelectedVObject.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [alignVObject](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_alignVObject.htm.md) |  Aligns the specified v-object. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [alignVObjects](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_alignVObjects.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [begin_initialization](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_begin_initialization.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [checkReady](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_checkReady.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [clearSelectedVObjects](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_clearSelectedVObjects.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [controlToWorkspace](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_controlToWorkspace.htm.md) |  Translates coordinates from the control-related coordinate system to the workspace-related one. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [deleteSelectedVObjects](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_deleteSelectedVObjects.htm.md) |  Delete the currently selected v-objects and shows a confirmation dialog if needed. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [dispose](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_dispose.htm.md) |  Removes the current [Canvas](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md) from the application. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [drawSelection](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_drawSelection.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [end_initialization](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_end_initialization.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [hitTestSelection](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_hitTestSelection.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [initialize](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_initialize.htm.md) |  Initializes the current [Canvas](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md) object. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [invokeRemoteMethod](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_invokeRemoteMethod.htm.md) |  Runs the specified remote method on the server. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [isVObjectSelected](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_isVObjectSelected.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [raiseDoubleClick](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_raiseDoubleClick.htm.md) |  Raises the double click. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [raiseKeyDown](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_raiseKeyDown.htm.md) |  Raises the key down event. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [raiseKeyUp](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_raiseKeyUp.htm.md) |  Raises the key up event. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [raiseMouseDown](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_raiseMouseDown.htm.md) |  Raises the mouse down event. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [raiseMouseMove](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_raiseMouseMove.htm.md) |  Raises the mouse move event. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [raiseMouseUp](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_raiseMouseUp.htm.md) |  Raises the mouse up event. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [redraw](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_redraw.htm.md) |  Redraws the canvas. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [removeSelectedVObject](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_removeSelectedVObject.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [updatePlaceholderButtonGroups](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_updatePlaceholderButtonGroups.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [updateTexts](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_updateTexts.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [workspaceToControl](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_workspaceToControl.htm.md) |  Translates coordinates from the workspace-related coordinate system to the control-related one. |
   
## See Also

### Reference

- [Canvas Class](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gmwc/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
