Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / DefaultSheetSelectionModel Class / GetSelections Method
Specifies the number of rows in the sheet in which to look
Specifies the number of columns in the sheet in which to look


In This Topic
GetSelections Method (DefaultSheetSelectionModel)
In This Topic
Returns an ordered array of CellRange objects, from largest to smallest, containing the selected cells with minimal overlap between the ranges.
Syntax
'Declaration
 
Public Function GetSelections( _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer _
) As CellRange()
 
'Usage
 
Dim instance As DefaultSheetSelectionModel
Dim rowCount As Integer
Dim columnCount As Integer
Dim value() As CellRange
 
value = instance.GetSelections(rowCount, columnCount)

Parameters

rowCount
Specifies the number of rows in the sheet in which to look
columnCount
Specifies the number of columns in the sheet in which to look
See Also