---
title: "Layer Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_Layer.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/)

# Layer Class
 
This class represents a layer of an image.
 
**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
  
```
<SerializableAttribute> _
Public Class Layer _Implements ISerializable, IDeserializationCallback
```
 
```csharp
[SerializableAttribute]
public class Layer : ISerializable, IDeserializationCallback
```
 
## Remarks
  
Each layer is associated with some [IVObjectHost](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IVObjectHost.htm.md) object and contains one or more v-objects. Objects of a particular layer are organized in an array [VObjects](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_Layer_VObjects.htm.md). You can add, remove or swap them within the layer. To move the v-object to another layer, you will need to remove it from the source layer and add it to the destination layer.
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - Aurigma.GraphicsMill.WinControls.Layer
 
## Thread Safety
 Static members of this type are safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
 
## Object Model

[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_148.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_Layer.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_149.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IVObject.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel1.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_150.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_VObjectCollection.htm.md)
  
## See Also

### Reference

- [Layer Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_WinControls_Layer.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
- [IVObjectHost.Layers](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_IVObjectHost_Layers.htm.md)

### Manual

- [Basic Concepts of Vector Objects](https://www.graphicsmill.com/docs/gm5/BasicConceptsOfVectorObjects.htm.md)
