---
title: "LayerRemovedEventArgs Constructor "
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_WinControls_LayerRemovedEventArgs_ctor_2_6a32c740.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/)

# LayerRemovedEventArgs Constructor 
 
Creates ans initializes a new [LayerRemovedEventArgs](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_LayerRemovedEventArgs.htm.md) instance.
 
**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
  
```
Public Sub New ( _layer As Layer, _index As Integer _
)
```
 
```csharp
public LayerRemovedEventArgs(Layer layer,int index
)
```
 
### Parameters
 
 - layer
     - Type: [Aurigma.GraphicsMill.WinControls.Layer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_Layer.htm.md)
The layer that was removed.

 - index
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
The index of the removed layer.
   
## See Also

### Reference

- [LayerRemovedEventArgs Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_LayerRemovedEventArgs.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
