Spread ASP.NET 6.0 Product Documentation
GetSelections Method
See Also  Send Feedback
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.