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,TRect) Constructor

Creates a new TcxRectBasedGeometryObject instance from the specified TRect value.

#Declaration

Delphi
constructor Create(AOwner: TPersistent; const ADefaultValue: TRect); reintroduce; overload;

#Parameters

Name Type Description
AOwner TPersistent

A persistent object to which the geometry information belongs.

ADefaultValue TRect

A source rectangle.

#Remarks

A TcxRectBasedGeometryObject class instance stores the source rectangle as its initial state. The IsDefault function compares the current geometry information with this rectangle. The Reset procedure restores the initial state.

See Also