---
title: "ZoomRectangleNavigator Class"
canonical: https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_ZoomRectangleNavigator.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# ZoomRectangleNavigator Class

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
This class represents a navigator which is used to zoom the content displayed in the [BaseViewer](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md) control by selecting necessary portion of the content by the mouse.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```csharp
public class ZoomRectangleNavigator : RectangleController, INavigator, IUserInputController
```
 
## Remarks
  
When this navigator is attached to the [BaseViewer](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md) using its property [Navigator](https://www.graphicsmill.com/docs/gmwc/P_Aurigma_GraphicsMill_AjaxControls_BaseViewer_Navigator.htm.md), 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
  
- [System..Object](http://msdn2.microsoft.com/en-us/library/e5kfa45b)
    - *+* [System.Web.UI..Control](http://msdn2.microsoft.com/en-us/library/983zwx2h)
        - *+* [System.Web.UI.WebControls..WebControl](http://msdn2.microsoft.com/en-us/library/k1x24e42)
            - *+* [Aurigma.GraphicsMill.AjaxControls..BaseScriptControl](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BaseScriptControl.htm.md)
                - *+* [Aurigma.GraphicsMill.AjaxControls..UserInputController](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_UserInputController.htm.md)
                    - *+* [Aurigma.GraphicsMill.AjaxControls..RectangleController](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_RectangleController.htm.md)
                        - *+* Aurigma.GraphicsMill.AjaxControls..ZoomRectangleNavigator
 
## Thread Safety
 Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
   
## See Also

### Reference

- [ZoomRectangleNavigator Members](https://www.graphicsmill.com/docs/gmwc/AllMembers_T_Aurigma_GraphicsMill_AjaxControls_ZoomRectangleNavigator.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
