Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxRegion.RectInRegion(Integer,Integer,Integer,Integer) Method

Identifies if the specified rectangle is within the region.

#Declaration

Delphi
function RectInRegion(ALeft: Integer; ATop: Integer; ARight: Integer; ABottom: Integer): Boolean; overload;

#Parameters

Name Type
ALeft Integer
ATop Integer
ARight Integer
ABottom Integer

#Returns

Type
Boolean

#Remarks

The overloaded RectInRegion functions return True if the specified rectangle is within the region or intersects it; otherwise, False.

The first variant accepts the rectangle as the R parameter while the second variant accepts the coordinates of the left-top and right-bottom corners of the ALeft, ATop, ARight, and ABottom parameters.

See Also