RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Types.Bounds Function

Returns the TRect for a rectangle of given dimensions.

Pascal
function Bounds(ALeft: Integer; ATop: Integer; AWidth: Integer; AHeight: Integer): TRect;
C++
TRect Bounds(int ALeft, int ATop, int AWidth, int AHeight);

Call Bounds to obtain a TRect for a rectangle with upper left corner at the point (ALeft, ATop) with width AWidth and height AHeight. 

 

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