Spread for ASP.NET 11 Product Documentation
GetSelections Method (DefaultSheetSelectionModel)


FarPoint.Web.Spread Assembly > FarPoint.Web.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
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)
public CellRange[] GetSelections( 
   int rowCount,
   int 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

Reference

DefaultSheetSelectionModel Class
DefaultSheetSelectionModel Members