---
title: "RectangleEventArgs Constructor "
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_WinControls_RectangleEventArgs_ctor_2_ab658806.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/)

# RectangleEventArgs Constructor 
 
Creates and initializes a new [RectangleEventArgs](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_RectangleEventArgs.htm.md) object.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Public Sub New ( _rectangle As Rectangle, _changeMode As RectangleChangeMode _
)
```
 
```csharp
public RectangleEventArgs(Rectangle rectangle,RectangleChangeMode changeMode
)
```
 
### Parameters
 
 - rectangle
     - Type: [System.Drawing.Rectangle](http://msdn2.microsoft.com/en-us/1zk39146)
The current rectangle of the rubberband.

 - changeMode
     - Type: [Aurigma.GraphicsMill.WinControls.RectangleChangeMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_RectangleChangeMode.htm.md)
The change mode of the current rubberband.
   
## See Also

### Reference

- [RectangleEventArgs Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_RectangleEventArgs.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
