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.PtInRegion(Integer,Integer) Method

Identifies if the specified point is within the region.

#Declaration

Delphi
function PtInRegion(X: Integer; Y: Integer): Boolean; overload;

#Parameters

Name Type
X Integer
Y Integer

#Returns

Type
Boolean

#Remarks

The overloaded PtInRegion functions return True if a target point is within the region; otherwise, False. The first variant accepts the point as the Pt parameter while the second variant accepts the target coordinates as the X and Y parameters.

See Also