Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / CellRange Class / Intersects Method
Example


In This Topic
    Intersects Method
    In This Topic
    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