---
title: "CanvasViewer Members"
canonical: https://www.graphicsmill.com/docs/gm5/AllMembers_T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.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/)

# CanvasViewer Members
 
The [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md) type exposes the following members.
 
## Methods

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [dispose](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_dispose.htm.md) |  Removes the current [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md) from the application. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [initialize](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_initialize.htm.md) |  Initializes the current [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md) object. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [lockViewer](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_lockViewer.htm.md) |  Shows a semi-transparent rectangle over the [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [unlockViewer](https://www.graphicsmill.com/docs/gm5/M_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_unlockViewer.htm.md) |  Hides the semi-transparent rectangle when it is shown over the [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md). |
 
## Properties

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [actualSizeHorizontalScale](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_actualSizeHorizontalScale.htm.md) |  Gets value which represents the ratio of screen horizontal resolution to the canvas resolution. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [actualSizeVerticalScale](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_actualSizeVerticalScale.htm.md) |  Gets value which represents the ratio of screen vertical resolution to the canvas resolution. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [canvas](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_canvas.htm.md) |  Gets the [Canvas](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md) associated with this [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md). |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [canvasId](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_canvasId.htm.md) |  Gets or sets a unique identifier of the [Canvas](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md) associated with this [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md). |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [contentHeight](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_contentHeight.htm.md) |  Gets a value that represents the height (in pixels) of the [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md) content taking into account the screen vertical resolution and zoom value. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [contentWidth](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_contentWidth.htm.md) |  Gets a value that represents the width (in pixels) of the [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md) content taking into account the 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_CanvasViewer_workspaceHeight.htm.md) |  Gets a value that represents the height (in pixels) of the [Canvas](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md) associated with this [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md). |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [workspaceWidth](https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_workspaceWidth.htm.md) |  Gets a value that represents the width (in pixels) of the [Canvas](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md) associated with this [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md). |
   
## See Also

### Reference

- [CanvasViewer Class](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls.htm.md)
