---
title: "MultiLayerViewer Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_MultiLayerViewer.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 Class
 
This class represents a scrollable viewport control for vector objects.
 
**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 Class MultiLayerViewer _Inherits ViewerBase _Implements IVObjectHost, IStateNavigable
```
 
```csharp
public class MultiLayerViewer : ViewerBase, IVObjectHost, IStateNavigable
```
 
## Remarks
  
This class is intended to display multi-layered vector images. It allows zooming and scrolling the displayed image and supports undo and redo of actions.
 
Each control of this type has an associated array of layers contained in it ([Layers](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_Layers.htm.md)). You can add, remove, swap and hide the layers. Objects contained in the layers are displayed according to the layer z-order. The current working layer is stored in the [CurrentLayer](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_CurrentLayer.htm.md) property and can be also specified with the [CurrentLayerIndex](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_CurrentLayerIndex.htm.md) property.
 
When the user interacts with the control, all input is sent to the designer of the currently selected object. This designer can be set with the [CurrentDesigner](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_CurrentDesigner.htm.md) property. If no object is selected, the [DefaultDesigner](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_DefaultDesigner.htm.md) value is used instead.
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - [System.MarshalByRefObject](http://msdn2.microsoft.com/en-us/w4302s1f)
        - [System.ComponentModel.Component](http://msdn2.microsoft.com/en-us/9wbadbce)
            - [System.Windows.Forms.Control](http://msdn2.microsoft.com/en-us/36cd312w)
                - [Aurigma.GraphicsMill.WinControls.ViewerBase](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ViewerBase.htm.md)
                    - Aurigma.GraphicsMill.WinControls.MultiLayerViewer
 
## 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_208.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_MultiLayerViewer.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_209.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_210.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_158.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_212.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_213.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_214.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_215.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_66.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_59.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IDesigner.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_57.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_219.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_137.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_221.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_58.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IDesigner.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_61.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_224.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_225.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_226.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_227.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_60.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ViewerBase.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_229.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_62.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_LayerCollection.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_231.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_INavigator.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_232.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_141.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_63.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_235.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IRubberband.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_236.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_73.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_238.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel1.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls.VectorObjects_ObjectModel_239.png)
  
## See Also

### Reference

- [MultiLayerViewer Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_WinControls_MultiLayerViewer.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)

### Manual

- [Basic Concepts of Vector Objects](https://www.graphicsmill.com/docs/gm5/BasicConceptsOfVectorObjects.htm.md)
