Vcl.DBCtrls.TDBImage.Stretch
Delphi
property Stretch: Boolean read FStretch write SetStretch default False;
C++
__property bool Stretch = {read=FStretch, write=SetStretch, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBImage |
Description
Determines whether bitmaps and metafiles assume the size and shape of the database image.
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.