This documentation is for the old version. Go to the latest Graphics Mill docs

ViewerBase.Navigator Property

Gets/sets a navigator control which is responsible for the user input.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)

Syntax

Visual Basic
<BrowsableAttribute(True)> _
Public Overridable Property Navigator As INavigator
C#
[BrowsableAttribute(true)]
public virtual INavigator Navigator { get; set; }

Property Value

An object implementing the INavigator interface, which is responsible for the user input.

Remarks

You can use such navigators as:

  • ZoomInNavigator left-button click zooms the image in, right-button click zooms it out.
  • ZoomOutNavigator left-button click zooms the image out, right-button click zooms it in.
  • ZoomRectangleNavigator the user defines a rectangle by the mouse and when the mouse button is released, the selected rectangle iz zoomed in.
  • PanNavigator when the user presses the mouse button down and moves the mouse, the image is panned until the user releases the button.

See Also

Reference