dxSpreadSheetIntersects(TRect,TRect,TRect) Method
Returns a value indicating whether the specified cell ranges intersect.
Declaration
function dxSpreadSheetIntersects(const AArea1: TRect; const AArea2: TRect; var AArea3: TRect): Boolean;
Parameters
Name | Type |
---|---|
AArea1 | TRect |
AArea2 | TRect |
AArea3 | TRect |
Returns
Type |
---|
Boolean |
Remarks
The first overloaded dxSpreadSheetIntersects function returns True if two cell ranges, specified as the AArea1 and AArea2 parameters, intersect. Otherwise, this function returns False.
In addition to the returned Boolean value indicating whether an intersection occurred, the second overloaded dxSpreadSheetIntersects function uses the AArea3 parameter to return the intersection area:
If two specified cell ranges do not intersect, the AArea3 parameter of the second overloaded dxSpreadSheetIntersects function returns the cxNullRect value.
See Also