---
title: "CanvasViewer Methods "
canonical: https://www.graphicsmill.com/docs/gmwc/Methods_T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.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/).

# CanvasViewer Methods 

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
The [CanvasViewer](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md) type exposes the following members.
 
## Methods

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [dispose](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_dispose.htm.md) |  Removes the current [CanvasViewer](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md) from the application. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [initialize](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_initialize.htm.md) |  Initializes the current [CanvasViewer](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md) object. |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [lockViewer](https://www.graphicsmill.com/docs/gmwc/M_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_lockViewer.htm.md) |  Shows a semi-transparent rectangle over the [CanvasViewer](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md). |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [unlockViewer](https://www.graphicsmill.com/docs/gmwc/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/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md). |
   
## See Also

### Reference

- [CanvasViewer Class](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gmwc/N_J_Aurigma_GraphicsMill_AjaxControls.htm.md)
