Vcl.DBCtrls.TDBImage.DestRect
Delphi
function DestRect(APicture: TPicture): TRect;
C++
System::Types::TRect __fastcall DestRect(Vcl::Graphics::TPicture* APicture);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBImage |
Description
Returns the coordinates and the dimensions of the given picture, taking the Stretch, Proportional, and Center properties into account.
Make a call to DestRect to determine the coordinates and dimensions of APicture, when attempting to place the picture on the database image control. A TRect object is returned, storing the corresponding coordinates and dimensions.
DestRect takes into account the Stretch, Proportional, and Center properties.