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)
Syntax
| Visual Basic (Declaration) |
|---|
Public Class MultiLayerViewer _ Inherits ViewerBase _ Implements IVObjectHost, IStateNavigable |
| C# |
|---|
public class MultiLayerViewer : ViewerBase, IVObjectHost, IStateNavigable |
| Visual C++ |
|---|
public ref class MultiLayerViewer : public 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). 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.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
Aurigma.GraphicsMill.WinControls.ViewerBase
Aurigma.GraphicsMill.WinControls.MultiLayerViewer
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
Aurigma.GraphicsMill.WinControls.ViewerBase
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.