This property sets whether or not the aspect ratio (the ratio of height to width) for the image displayed in the Image object is maintained.

[Visual Basic] Public Property SelectedObjectAspectRatio As Boolean
[C#] public bool SelectedObjectAspectRatio {get; set;}

Property Value

True: The image's aspect ratio is fixed

False: The image's aspect ratio is NOT fixed

Default value is True

Explanation

The SelectedObjectAspectRatio property sets whether or not the aspect ratio (the ratio of height to width) for the image displayed in the Image object is maintained.

When this property is True, and a image object is displayed in an Image object, the image's original height to width ratio will be maintained. When this property is false, the image will be stretched to fit the dimensions of the image annotation object.

When the EditKind property is set to values other than KindOfEdit.Select, or when no object has been selected, or when the selected object is not an Image object, the SelectedObjectAspectRatio property value will be False.

Also See

ImageKit.Edit Members | Newtone.ImageKit.Wpf.ImageKit

 

The ImageKit WPF is created by Newtone Corporation