Spread Windows Forms 12.0 Product Documentation
Intersects Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > CellRange Class : Intersects Method
Determines whether the range of cells intersects the specified range.
Overload List
OverloadDescription
Determines whether the range of cells intersects the specified range.  
Determines whether the range of cells intersects the specified range.  
Example
This example illustrates the use of this member by returning whether the selected range intersects the specified range
FarPoint.Win.Spread.Model.CellRange cr = new FarPoint.Win.Spread.Model.CellRange(0, 0, 3, 3);
bool b;
b = cr.Intersects(1, 1, 2, 2);
listBox1.Items.Add(b.ToString());
Dim cr As New FarPoint.Win.Spread.Model.CellRange(0, 0, 3, 3)
Dim b As Boolean
b = cr.Intersects(1, 1, 2, 2)
ListBox1.Items.Add(b.ToString())
See Also

Reference

CellRange Class
CellRange Members