Spread for ASP.NET 11 Product Documentation
RemoveSelection Method (ISheetSelectionModel)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > ISheetSelectionModel Interface : RemoveSelection Method
Row index of the cell at which to start
Column index of the cell at which to start
Number of rows to deselect
Number of columns to deselect
Removes the specified selection range from the selection list, if one exists.
Syntax
'Declaration
 
Sub RemoveSelection( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer _
) 
'Usage
 
Dim instance As ISheetSelectionModel
Dim row As Integer
Dim column As Integer
Dim rowCount As Integer
Dim columnCount As Integer
 
instance.RemoveSelection(row, column, rowCount, columnCount)
void RemoveSelection( 
   int row,
   int column,
   int rowCount,
   int columnCount
)

Parameters

row
Row index of the cell at which to start
column
Column index of the cell at which to start
rowCount
Number of rows to deselect
columnCount
Number of columns to deselect
Example
FarPoint.Web.Spread.Model.ISheetSelectionModel iss;
iss = (FarPoint.Web.Spread.Model.ISheetSelectionModel)FpSpread1.ActiveSheetView.SelectionModel;
iss.RemoveSelection(0, 0, 2, 2);
Dim iss As FarPoint.Web.Spread.Model.ISheetSelectionModel
iss = FpSpread1.ActiveSheetView.SelectionModel
iss.RemoveSelection(0, 0, 2, 2)
See Also

Reference

ISheetSelectionModel Interface
ISheetSelectionModel Members