GrapeCity.Xaml.Excel
SetSelection Method (IExcelReader)


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 Short, _
   ByVal paneType As PaneType, _
   ByVal rowActive As Integer, _
   ByVal columnActive As Integer, _
   ByVal selectionCount As Integer, _
   ByVal rowFirst As List(Of Integer), _
   ByVal rowLast As List(Of Integer), _
   ByVal colFirst As List(Of Integer), _
   ByVal colLast As List(Of Integer) _
) 
'Usage
 
Dim instance As IExcelReader
Dim sheet As Short
Dim paneType As PaneType
Dim rowActive As Integer
Dim columnActive As Integer
Dim selectionCount As Integer
Dim rowFirst As List(Of Integer)
Dim rowLast As List(Of Integer)
Dim colFirst As List(Of Integer)
Dim colLast As List(Of Integer)
 
instance.SetSelection(sheet, paneType, rowActive, columnActive, selectionCount, rowFirst, rowLast, colFirst, colLast)
void SetSelection( 
   short sheet,
   PaneType paneType,
   int rowActive,
   int columnActive,
   int selectionCount,
   List<int> rowFirst,
   List<int> rowLast,
   List<int> colFirst,
   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
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

IExcelReader Interface
IExcelReader Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options