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.WebControls
Assembly: Aurigma.GraphicsMill.WebControls (in Aurigma.GraphicsMill.WebControls.dll)

Syntax

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

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 mouse 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