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

dxSpreadSheetCellsUnion(TRect,TRect) Method

Unites two cell ranges into one.

#Declaration

Delphi
function dxSpreadSheetCellsUnion(const AArea1: TRect; const AArea2: TRect): TRect;

#Parameters

Name Type
AArea1 TRect
AArea2 TRect

#Returns

Type
TRect

#Remarks

The dxSpreadSheetCellsUnion function is used in Table View‘s both selection area and merged cell calculations. You can use this function to create a new cell range from two existing cell ranges which are specified as the AArea1 and AArea2 parameters. The dxSpreadSheetCellsUnion function uses the leftmost, topmost, rightmost and lowermost borders of the two specified cell ranges to create the united cell range area. If present, the free space between the specified areas becomes occupied by the united area:

See Also