---
title: "RectangleRubberband..::.ratio Property "
canonical: https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_RectangleRubberband_ratio.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# RectangleRubberband.ratio Property 

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Gets/sets the aspect ratio of the rubberband rectangle which should be preserved when [resizeMode](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_RectangleRubberband_resizeMode.htm.md) is [proportional](https://www.graphicsmill.com/docs/gmwc/T_J_GraphicsMill_ResizeMode.htm.md).
 
**Namespace:** [GraphicsMill](https://www.graphicsmill.com/docs/gmwc/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/gmwc/P_J_GraphicsMill_RectangleRubberband_resizeMode.htm.md) is [proportional](https://www.graphicsmill.com/docs/gmwc/T_J_GraphicsMill_ResizeMode.htm.md).
 
## Remarks
  
This property corresponds to [RectangleRubberband.Ratio](https://www.graphicsmill.com/docs/gmwc/P_Aurigma_GraphicsMill_AjaxControls_RectangleRubberband_Ratio.htm.md) server-side member.
   
## See Also

### Reference

- [RectangleRubberband Class](https://www.graphicsmill.com/docs/gmwc/T_J_GraphicsMill_RectangleRubberband.htm.md)
- [GraphicsMill Namespace](https://www.graphicsmill.com/docs/gmwc/N_J_GraphicsMill.htm.md)
