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 content displayed in the BaseViewer control by selecting necessary portion of the content by the mouse.

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

Syntax

Visual Basic
<ToolboxBitmapAttribute(GetType(ZoomRectangleNavigator), "Resources.ZoomRectangleNavigator.bmp")> _
Public Class ZoomRectangleNavigator _
	Inherits RectangleController _
	Implements INavigator, IUserInputController
C#
[ToolboxBitmapAttribute(typeof(ZoomRectangleNavigator), "Resources.ZoomRectangleNavigator.bmp")]
public class ZoomRectangleNavigator : RectangleController, INavigator, 
	IUserInputController

Remarks

When this navigator is attached to the BaseViewer 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 content 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