---
title: "CanvasViewer Class"
canonical: https://www.graphicsmill.com/docs/gm5/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 Class
 
This client-side class corresponds to the [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md) server-side control and gives an opportunity to obtain access to its primary members in JavaScript.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
Aurigma.GraphicsMill.AjaxControls.CanvasViewer = function();

Type.createClass('Aurigma.GraphicsMill.AjaxControls.CanvasViewer',GraphicsMill.BaseViewer);
```
 
## Remarks
  
This class is intended to display multi-layered vector images. It allows zooming and scrolling the displayed image and supports undo and redo of actions.
 
## Inheritance Hierarchy
  
- Sys.Component
    - Sys.UI.Control
        - [GraphicsMill.BaseViewer](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_BaseViewer.htm.md)
            - Aurigma.GraphicsMill.AjaxControls.CanvasViewer
   
## See Also

### Reference

- [CanvasViewer Members](https://www.graphicsmill.com/docs/gm5/AllMembers_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)
- [Aurigma.GraphicsMill.AjaxControls.CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md)

### Manual

- [How to Use AJAX Vector Objects](https://www.graphicsmill.com/docs/gm5/HowtoUseAJAXVectorObjects.htm.md)
