---
title: "RectangleRubberband..::.ratio Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_RectangleRubberband_ratio.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.ratio Property 
 
Gets/sets the aspect ratio of the rubberband rectangle which should be preserved when [resizeMode](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_RectangleRubberband_resizeMode.htm.md) is [proportional](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_ResizeMode.htm.md).
 
**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_ratio();
function set_ratio(value);
```
 
### Property Value
The aspect ratio of the rubberband rectangle which should be preserved when [resizeMode](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_RectangleRubberband_resizeMode.htm.md) is [proportional](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_ResizeMode.htm.md).
 
## Remarks
  
This property corresponds to [RectangleRubberband.Ratio](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_RectangleRubberband_Ratio.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)
