---
title: "Canvas Properties "
canonical: https://www.graphicsmill.com/docs/gm5/Properties_T_J_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 Properties 
 
The [Canvas](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md) type exposes the following members.
 
## Properties

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [canvasClientSideOptions](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_canvasClientSideOptions.htm.md) |  Gets values which configure automatic postback for individual events. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [constrainedMarginEnabled](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_constrainedMarginEnabled.htm.md) |  Gets or sets the value indicating whether it is possible to move v-objects beyond the bounds of the canvas. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [currentLayer](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_currentLayer.htm.md) |  Gets the currently selected layer. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [currentLayerIndex](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_currentLayerIndex.htm.md) |  Gets or sets an index of the currently selected layer. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [currentVObject](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_currentVObject.htm.md) |  Gets the currently selected v-object. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [currentVObjectIndex](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_currentVObjectIndex.htm.md) |  Gets or sets an index of the currently selected v-object. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [data](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_data.htm.md) |  Gets or sets serialized data of this canvas. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [height](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_height.htm.md) |  Gets the height of the canvas taking into account screen vertical resolution and zoom value. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [history](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_history.htm.md) |  Gets a [History](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RedoUndo_History.htm.md) object associated with this canvas. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [isSquaredBackground](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_isSquaredBackground.htm.md) |  Gets or sets the value indicating if the background of the canvas is squared. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [keyEventEnabled](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_keyEventEnabled.htm.md) |  Gets or sets the value indicating whether the both key-up and key-down events are enabled. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [layers](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_layers.htm.md) |  Gets a collection of layers associated with this canvas. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [margin](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_margin.htm.md) |  Gets or sets the outer margin of the canvas. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [marginColor](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_marginColor.htm.md) |  Gets or sets a color of the outer margin of the canvas. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [marginWidth](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_marginWidth.htm.md) |  Gets or sets a width of the outer margin of the canvas. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [previewColorManagementEnabled](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_previewColorManagementEnabled.htm.md) |  Gets or sets the value indicating whether to use color management when displaying images. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [printColorManagementEnabled](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_printColorManagementEnabled.htm.md) |  Gets or sets the value indicating whether to use color management when rendering the workspace. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [resizeGripColor](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_resizeGripColor.htm.md) |  Gets or set the resize grip color. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [resizeGripSize](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_resizeGripSize.htm.md) |  Gets or set the resize grip width. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [returnValue](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_returnValue.htm.md) |  Gets the value returned by a remote scripting method. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [rotationGripColor](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_rotationGripColor.htm.md) |  Gets or set the rotation grip color. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [rotationGripSize](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_rotationGripSize.htm.md) |  Gets or set the rotation grip width. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [screenXDpi](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_screenXDpi.htm.md) |  Gets a horizontal resolution in DPI used to show the canvas in a browser. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [screenYDpi](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_screenYDpi.htm.md) |  Gets a vertical resolution in DPI used to show the canvas in a browser. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [status](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_status.htm.md) |  Gets a current bitmap status. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [tags](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_tags.htm.md) |  Gets or sets custom data. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [width](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_width.htm.md) |  Gets the width of the canvas taking into account screen horizontal resolution and zoom value. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [workspaceHeight](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_workspaceHeight.htm.md) |  Gets or sets the height of the canvas. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [workspaceWidth](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_workspaceWidth.htm.md) |  Gets or sets the width of the canvas. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [zoom](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_zoom.htm.md) |  Gets or sets the current zoom value. |
   
## See Also

### Reference

- [Canvas Class](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
