Есть вопросы? Напишите нам: support@enigmaprotector.com



Stretch Property

Indicates whether the image should be changed so that it exactly fits the bounds of the image control.


Set Stretch to true to cause the image to assume the size and shape of the image control. When the image control resizes, the image resizes also. Stretch resizes the height and width of the image independently. Thus, unlike a simple change in magnification, Stretch can distort the image if the image control is not the same shape as the image.

To resize the control to the image rather than resizing the image to the control, use the AutoSize property instead.