Spread WPF 18
GrapeCity.Spreadsheet Namespace / IWorksheetView Interface / AddSelection Method
An integer value indicates the top row index of cell range.
An integer value indicates the left column index of cell range.
An integer value indicates the bottom row index of cell range.
An integer value indicates the right column index of cell range.


In This Topic
    AddSelection Method
    In This Topic
    Adds the specified cell range to the selection.
    Syntax
    'Declaration
     
    Sub AddSelection( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal row2 As Integer, _
       ByVal column2 As Integer _
    ) 
    'Usage
     
    Dim instance As IWorksheetView
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
     
    instance.AddSelection(row, column, row2, column2)
    void AddSelection( 
       int row,
       int column,
       int row2,
       int column2
    )

    Parameters

    row
    An integer value indicates the top row index of cell range.
    column
    An integer value indicates the left column index of cell range.
    row2
    An integer value indicates the bottom row index of cell range.
    column2
    An integer value indicates the right column index of cell range.
    See Also