---
title: "RectangleController Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WebControls_RectangleController.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# RectangleController Class
 
This is a base class for all the navigators or rubberbands which should display a rectangle.
 
**Namespace:** [Aurigma.GraphicsMill.WebControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WebControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WebControls (in Aurigma.GraphicsMill.WebControls.dll)
 
## Syntax
  
```
Public MustInherit Class RectangleController _Inherits UserInputController
```
 
```csharp
public abstract class RectangleController : UserInputController
```
 
## Remarks
  
This class implements the functionality for displaying a rectangle rubberband. You can change the rectangle appearance with [OutlineColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WebControls_RectangleController_OutlineColor.htm.md), [OutlineWidth](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WebControls_RectangleController_OutlineWidth.htm.md), and [OutlineStyle](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WebControls_RectangleController_OutlineStyle.htm.md) properties.
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - [System.Web.UI.Control](http://msdn2.microsoft.com/en-us/983zwx2h)
        - [System.Web.UI.WebControls.WebControl](http://msdn2.microsoft.com/en-us/k1x24e42)
            - [Aurigma.GraphicsMill.WebControls.UserInputController](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WebControls_UserInputController.htm.md)
                - Aurigma.GraphicsMill.WebControls.RectangleController
                    - [Aurigma.GraphicsMill.WebControls.ZoomRectangleNavigator](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WebControls_ZoomRectangleNavigator.htm.md)
                    - [Aurigma.GraphicsMill.WebControls.RectangleRubberband](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WebControls_RectangleRubberband.htm.md)
 
## 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

- [RectangleController Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_WebControls_RectangleController.htm.md)
- [Aurigma.GraphicsMill.WebControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WebControls.htm.md)
