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 (Declaration) |
|---|
<NonVisualControlAttribute> _ <ToolboxBitmapAttribute(GetType(), "Resources.ZoomRectangleNavigator.bmp")> _ Public Class ZoomRectangleNavigator _ Inherits RectangleController _ Implements INavigator, IUserInputController |
| C# |
|---|
[NonVisualControlAttribute] [ToolboxBitmapAttribute(typeof(ZoomRectangleNavigator), "Resources.ZoomRectangleNavigator.bmp")] public class ZoomRectangleNavigator : RectangleController, INavigator, IUserInputController |
| Visual C++ |
|---|
[NonVisualControlAttribute] [ToolboxBitmapAttribute(typeof(), L"Resources.ZoomRectangleNavigator.bmp")] public ref class ZoomRectangleNavigator : public RectangleController, INavigator, IUserInputController |
Remarks
When this navigator is attached to the BaseViewer using its property Navigator, it is working in the following way:
- When the left button of the mouse is pressed down, it captures the mouse control.
- When control is captured and the mouse is moved, the selection rectangle is displayed and stretched.
- 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
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Aurigma.GraphicsMill.AjaxControls.BaseScriptControl
Aurigma.GraphicsMill.AjaxControls.UserInputController
Aurigma.GraphicsMill.AjaxControls.RectangleController
Aurigma.GraphicsMill.AjaxControls.ZoomRectangleNavigator
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Aurigma.GraphicsMill.AjaxControls.BaseScriptControl
Aurigma.GraphicsMill.AjaxControls.UserInputController
Aurigma.GraphicsMill.AjaxControls.RectangleController
Aurigma.GraphicsMill.AjaxControls.ZoomRectangleNavigator
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.