Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / CellRange Class / Intersects Method
The row index at the start of the range.
The column index at the start of the range.
The number of rows.
The number of columns.


In This Topic
    Intersects Method
    In This Topic
    Determines whether the range of cells intersects the specified range.
    Syntax
    'Declaration
     
    Public Function Intersects( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal rowCount As Integer, _
       ByVal columnCount As Integer _
    ) As Boolean
    'Usage
     
    Dim instance As CellRange
    Dim row As Integer
    Dim column As Integer
    Dim rowCount As Integer
    Dim columnCount As Integer
    Dim value As Boolean
     
    value = instance.Intersects(row, column, rowCount, columnCount)
    public bool Intersects( 
       int row,
       int column,
       int rowCount,
       int columnCount
    )

    Parameters

    row
    The row index at the start of the range.
    column
    The column index at the start of the range.
    rowCount
    The number of rows.
    columnCount
    The number of columns.

    Return Value

    true if the range intersects the specified range; otherwise, false.
    See Also