Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / SetSelection Method / SetSelection(Int32,Int32,Int32,Int32) Method
The row index of the first cell.
The column index of the first cell.
The number of rows in the selection.
The number of columns in the selection.


In This Topic
    SetSelection(Int32,Int32,Int32,Int32) Method
    In This Topic
    Selects the specified cells.
    Syntax
    'Declaration
     
    Public Overloads Sub SetSelection( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal rowCount As Integer, _
       ByVal columnCount As Integer _
    ) 
    'Usage
     
    Dim instance As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim rowCount As Integer
    Dim columnCount As Integer
     
    instance.SetSelection(row, column, rowCount, columnCount)
    public void SetSelection( 
       int row,
       int column,
       int rowCount,
       int columnCount
    )

    Parameters

    row
    The row index of the first cell.
    column
    The column index of the first cell.
    rowCount
    The number of rows in the selection.
    columnCount
    The number of columns in the selection.
    See Also