Spread Windows Forms 12.0 Product Documentation
AddSelection Method (IWorksheetView)


GrapeCity.Spreadsheet Assembly > 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.
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

Reference

IWorksheetView Interface
IWorksheetView Members