Property ULImage.TULImage.Stretched
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: TULImage
Contents |
Syntax
Delphi:
property Stretched : Boolean read FStretched write SetStretched default False;
C++ Builder:
__property bool Stretched = { read=FStretched, write=SetStretched, default=False };
Summary
Indicates whether the image should be changed so that it exactly fits the bounds of the image control.
Description
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 image without any distortion, set the Proportional property to True.
To resize the control to the image rather than resizing the image to the control, use the AutoSize property instead.
The default value for Stretch is false.