---
title: "Layer..::.index Property "
canonical: https://www.graphicsmill.com/docs/gmwc/P_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Layer_index.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/).

# Layer.index Property 

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Get the index of this layer in the [LayerCollection](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerCollection.htm.md). Returns `-1` if the layer was not added to the collection.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gmwc/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function get_index();
```
 
### Property Value
The index of this layer.
 
## Remarks
  
This property corresponds to [Layer.Index](https://www.graphicsmill.com/docs/gmwc/P_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Layer_Index.htm.md) server-side member.
   
## See Also

### Reference

- [Layer Class](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Layer.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gmwc/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
