Spread Silverlight Documentation
SetSelection Method (IExcelReader)


GrapeCity.Excel Namespace > IExcelReader Interface : SetSelection Method
The zero based sheet index used to locate the IExcelWorksheet instance
The type of the pane
The zero base active row index
The zero base active column index
The count of the selections in the specified sheet
The list contains all selections' top left cell row index
The list contains all selections' bottom right cell row index
The list contains all selections' top left cell column index
The list contains all selections' bottom right cell column index
Set the cell selections for the specified worksheet
Syntax
'Declaration
 
Sub SetSelection( _
   ByVal sheet As System.Short, _
   ByVal paneType As PaneType, _
   ByVal rowActive As System.Integer, _
   ByVal columnActive As System.Integer, _
   ByVal selectionCount As System.Integer, _
   ByVal rowFirst As System.Collections.Generic.List(Of Integer), _
   ByVal rowLast As System.Collections.Generic.List(Of Integer), _
   ByVal colFirst As System.Collections.Generic.List(Of Integer), _
   ByVal colLast 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 sheet,
   PaneType paneType,
   System.int rowActive,
   System.int columnActive,
   System.int selectionCount,
   System.Collections.Generic.List<int> rowFirst,
   System.Collections.Generic.List<int> rowLast,
   System.Collections.Generic.List<int> colFirst,
   System.Collections.Generic.List<int> colLast
)

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

Reference

IExcelReader Interface
IExcelReader Members