RectangleGrips.AspectRatio 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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic float AspectRatio { get; set; }
Public Property AspectRatio As Single
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