This property sets whether or not an image pasted or altered with the Image annotation object will maintain the original image's aspect ratio.

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

Property Value

True: The original image's aspect ratio will be maintained.
False: The image can be pasted or resized without regard to the original image's aspect ratio
The default value is True

Explanation

The AspectRatio property sets whether or not an image, pasted or altered with the Image annotation object, will maintain the original image's aspect ratio. When this property is true, the Image annotation object will maintain the original image's aspect ratio (heigth/width) when pasting or resizing and image. When this property is False, the image will be stretched to fill the Image object.

To make changes to the aspect ration after the image has been drawn in a Image object, right click on the Image object to display the context menu, execute the ShowPropertyDialog method to display the property dialog, or execute the SetSelectedObjectAspectRatio method.

Also See

ImageKit.Edit Members | Newtone.ImageKit.Win.ImageKit

 

The ImageKit.NET2 is created by Newtone Corporation