This class represents a scrollable viewport control for vector objects.
Namespace:
Aurigma.GraphicsMill.WinControls
Assembly:
Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
Public Class MultiLayerViewer _ Inherits ViewerBase _ Implements IVObjectHost, IStateNavigable
public class MultiLayerViewer : ViewerBase, IVObjectHost, IStateNavigable
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). 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 property and can be also specified with the CurrentLayerIndex 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 property. If no object is selected, the DefaultDesigner value is used instead.