dxSpreadSheetCellsUnion(TRect,TRect) Method
Unites two cell ranges into one.
Declaration
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