---
title: "RectangleRubberband..::.rectangle Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_RectangleRubberband_rectangle.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/)

# RectangleRubberband.rectangle Property 
 
Gets/sets the rubberband rectangle.
 
**Namespace:** [GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function get_rectangle();
function set_rectangle(value);
```
 
### Property Value
The [Rectangle](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_Rectangle.htm.md) object represented the rubberband rectangle.
 
## Remarks
  
Rectangle values (left, top, width and height) are measured in the coordinates of the workspace associated with the [BaseViewer](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_BaseViewer.htm.md) where it is displayed.
 
This property corresponds to [RectangleRubberband.Rectangle](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_RectangleRubberband_Rectangle.htm.md) server-side member.
   
## See Also

### Reference

- [RectangleRubberband Class](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_RectangleRubberband.htm.md)
- [GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
