Set the cell selections for the specified worksheet
Syntax
'Declaration
Sub SetSelection( _
ByVal As System.Short, _
ByVal As PaneType, _
ByVal As System.Integer, _
ByVal columnActive As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Collections.Generic.List(Of Integer), _
ByVal As System.Collections.Generic.List(Of Integer), _
ByVal As System.Collections.Generic.List(Of Integer), _
ByVal As System.Collections.Generic.List(Of Integer) _
)
'Usage
Dim instance As IExcelReader
Dim sheet As System.Short
Dim paneType As PaneType
Dim rowActive As System.Integer
Dim columnActive As System.Integer
Dim selectionCount As System.Integer
Dim rowFirst As System.Collections.Generic.List(Of Integer)
Dim rowLast As System.Collections.Generic.List(Of Integer)
Dim colFirst As System.Collections.Generic.List(Of Integer)
Dim colLast As System.Collections.Generic.List(Of Integer)
instance.SetSelection(sheet, paneType, rowActive, columnActive, selectionCount, rowFirst, rowLast, colFirst, colLast)
void SetSelection(
System.short ,
PaneType ,
System.int ,
System.int columnActive,
System.int ,
System.Collections.Generic.List<int> ,
System.Collections.Generic.List<int> ,
System.Collections.Generic.List<int> ,
System.Collections.Generic.List<int>
)
Parameters
- sheet
- The zero based sheet index used to locate the IExcelWorksheet instance
- paneType
- The type of the pane
- rowActive
- The zero base active row index
- columnActive
- The zero base active column index
- selectionCount
- The count of the selections in the specified sheet
- rowFirst
- The list contains all selections' top left cell row index
- rowLast
- The list contains all selections' bottom right cell row index
- colFirst
- The list contains all selections' top left cell column index
- colLast
- The list contains all selections' bottom right cell column index
See Also