Click or drag to resize

RectangleGripsAspectRatio Property

Gets or sets a value used for the width-to-height ratio.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
public float AspectRatio { get; set; }

Property Value

Type: Single
The width-to-height ratio for the annotation. A value of zero will disable this feature.
Use this property to force annotation resizing to maintain a specific aspect ratio. The height of the annotation is calculated by multiplying the annotation width by this aspect ratio value.
See Also