Skip to main content
A newer version of this page is available.
All docs
V18.2
Row

Range.Intersect(Range) Method

Returns the cell range that is the intersection of the current and specified ranges.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v18.2.Core.dll

Declaration

Range Intersect(
    Range other
)

Parameters

Name Type Description
other Range

A Range object that specifies the cell range to be intersected.

Returns

Type Description
Range

A Range object that is an intersection of two ranges. If ranges do not intersect, null (Nothing in Visual Basic) is returned.

Remarks

To check whether ranges intersect, use the Range.IsIntersecting method.

See Also