---
title: "Canvas..::.layers Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_layers.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.layers Property 
 
Gets a collection of layers associated with this canvas.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function get_layers();
function set_layers(value);
```
 
### Property Value
The [LayerCollection](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerCollection.htm.md) which represents a collection of layers associated with this canvas.
 
## Remarks
  
This property corresponds to [Canvas.Layers](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_Layers.htm.md) server-side member.
   
## 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)
