---
title: "LayerData Constructor (Layer)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerData_ctor_1_556e68c2.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/)

# LayerData Constructor (Layer)
 
Creates and initializes an instance of the [LayerData](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerData.htm.md) class from the specified [Layer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Layer.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Public Sub New ( _l As Layer _
)
```
 
```csharp
public LayerData(Layer l
)
```
 
### Parameters
 
 - l
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Layer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Layer.htm.md)
Layer to create layer data from.
   
## See Also

### Reference

- [LayerData Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerData.htm.md)
- [LayerData Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LayerData_ctor.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
