RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBImage.Stretch Property

Determines whether bitmaps and metafiles assume the size and shape of the database image.

Pascal
property Stretch: Boolean;
C++
__property Boolean Stretch;

Set Stretch to true to cause the picture to assume the size and shape of the image control. When the image control resizes, the picture 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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!