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

TcxRectBasedGeometryObject.IsEmpty Method

Identifies if geometry information corresponds to an empty rectangle or zero margins.

#Declaration

Delphi
function IsEmpty: Boolean; virtual;

#Returns

Type Description
Boolean

True if the underlying rectangle’s area is 0 or a negative number; otherwise, False.

#Remarks

Draw routines can call this function to identify if they should take the stored geometry-based information into account. For instance, a draw routine can use a simpler algorithm if the IsEmpty function returns True.

See Also