---
title: "MultiLayerViewer..::.CurrentLayerIndex Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_CurrentLayerIndex.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/)

# MultiLayerViewer.CurrentLayerIndex Property 
 
Gets/sets the index of the currently selected layer.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
 
## Syntax
  
```
<BrowsableAttribute(False)> _
Public Property CurrentLayerIndex As Integer
```
 
```csharp
[BrowsableAttribute(false)]
public int CurrentLayerIndex { get; set; }
```
 
### Property Value
The index of the currently selected layer.
 
### Implements
 
[IVObjectHost.CurrentLayerIndex](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_IVObjectHost_CurrentLayerIndex.htm.md)
   
## See Also

### Reference

- [MultiLayerViewer Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_MultiLayerViewer.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
