Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / IDisjointSelections Interface / GetSelections Method
Number of rows in the sheet
Number of columns in the sheet


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

    Parameters

    rowCount
    Number of rows in the sheet
    columnCount
    Number of columns in the sheet
    See Also