---
title: "RectangleRubberband..::.resizeMode Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_RectangleRubberband_resizeMode.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.resizeMode Property 
 
Gets/sets the allowed resize mode for 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_resizeMode();
function set_resizeMode(value);
```
 
### Property Value
The [ResizeMode](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_ResizeMode.htm.md) enumeration member that specifies an allowed resize mode for the rubberband rectangle.
 
## Remarks
  
When [proportional](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_ResizeMode.htm.md) resize mode is used, you can specify the required aspect ratio of the rectangle using [ratio](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_RectangleRubberband_ratio.htm.md) property.
 
This property corresponds to [RectangleRubberband.ResizeMode](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_RectangleRubberband_ResizeMode.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)
