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

Create(Integer,Integer,Integer,Integer) Constructor

Creates a new region.

#Declaration

Delphi
constructor Create(ALeft: Integer; ATop: Integer; ARight: Integer; ABottom: Integer); overload;

#Parameters

Name Type
ALeft Integer
ATop Integer
ARight Integer
ABottom Integer

#Remarks

Call any of these overloaded constructor variants to create a region:

Overloaded Variant Description
1 This variant accepts a handle to an existing region as the AHandle parameter. The parameter value initializes the Handle property. Call this constructor variant to create a TcxRegion wrapper for an existing Windows API region.
2 This constructor variant accepts a TRect value as the ABounds parameter to create a new rectangular region.
3 This variant accepts no parameters and creates a new empty region.
4 This constructor variant is similar to the second variant but accepts the coordinates of the left-top and right-bottom corners of the bounding rectangle as the ALeft, ATop, ARight, and ABottom parameters.
See Also