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, Design Atoms JS, and 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 is proportional.

Namespace: GraphicsMill
Assembly: Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

Java Script
function get_ratio();
function set_ratio(value);

Property Value

The aspect ratio of the rubberband rectangle which should be preserved when resizeMode is proportional.

Remarks

This property corresponds to RectangleRubberband.Ratio server-side member.

See Also

Reference