System.Types.Bounds

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Bounds(ALeft, ATop, AWidth, AHeight: Integer): TRect;

Properties

Type Visibility Source Unit Parent
function public System.Types.pas System.Types System.Types

Description

Returns the TRect for a rectangle of given dimensions.

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

See Also

Code Examples