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: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
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.
Remarks
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