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

ZoomRectangleNavigator Class

This class represents a navigator which is used to zoom the image displayed in the BitmapViewer control by selecting necessary portion of the image by the mouse.

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

Syntax

Visual Basic
Public NotInheritable Class ZoomRectangleNavigator _
	Inherits RectangleController _
	Implements INavigator, IUserInputController
C#
public sealed class ZoomRectangleNavigator : RectangleController, INavigator, 
	IUserInputController

Remarks

When this navigator is attached to the BitmapViewer using its property Navigator, it is working in the following way:

  1. When the left button of the mouse is pressed down, it captures the control.
  2. When control is captured and the mouse is moved, the selection rectangle is displayed and stretched.
  3. When the left button of the mouse is released, the control zooms the image so that the selected portion occupy as much control client area as aspect ratio allows.

Inheritance Hierarchy

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.

See Also

Reference