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

Creates a new TcxPointBasedGeometryObject class instance with the specified parameters.

#Declaration

Delphi
constructor Create(AOwner: TPersistent; ADefaultX: Integer = 0; ADefaultY: Integer = 0); reintroduce;

#Parameters

Name Type Description
AOwner TPersistent

A persistent object to which the geometry-based information belongs.

ADefaultX Integer

An initial horizontal offset or width, in pixels.

ADefaultY Integer

An initial vertical offset or height, in pixels.

#Remarks

A TcxPointBasedGeometryObject instance stores the ADefaultX and ADefaultY values as its initial state. The IsDefault function compares the current geometry information to these values. The Reset procedure restores the initial state.

See Also