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(TPersistent,Integer) Constructor

Initializes a new instance of the TcxRectBasedGeometryObject class with specified settings.

#Declaration

Delphi
constructor Create(AOwner: TPersistent; const ADefaultValue: Integer = 0); reintroduce; overload;

#Parameters

Name Type Description
AOwner TPersistent

A persistent object to which the created rectangle belongs.

ADefaultValue Integer

A value assigned to the Left, Top, Right, and Bottom properties.

#Remarks

This constructor is designed to create rectangles used as margins or offsets. The ADefaultValue parameter defines the initial geometry information. The IsDefault function compares the current and initial geometry information states. The Reset procedure restores the initial state.

See Also