Spread for ASP.NET 7.0 Product Documentation
GetSelections Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetSelectionModel Class : GetSelections Method


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

Glossary Item Box

Returns an ordered array of CellRange objects, from largest to smallest, containing the selected cells with minimal overlap between the ranges.

Syntax

Visual Basic (Declaration) 
Public Function GetSelections( _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer _
) As CellRange()
Visual Basic (Usage)Copy Code
Dim instance As DefaultSheetSelectionModel
Dim rowCount As Integer
Dim columnCount As Integer
Dim value() As CellRange
 
value = instance.GetSelections(rowCount, columnCount)
C# 
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

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.