FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.Model 名前空間 > DefaultSheetSelectionModel クラス : AddSelection メソッド |
'Declaration
Public Overrides Sub AddSelection( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal rowCount As Integer, _ ByVal columnCount As Integer _ )
'使用法
Dim instance As DefaultSheetSelectionModel Dim row As Integer Dim column As Integer Dim rowCount As Integer Dim columnCount As Integer instance.AddSelection(row, column, rowCount, columnCount)
FarPoint.Win.Spread.Model.DefaultSheetSelectionModel defselModel = new FarPoint.Win.Spread.Model.DefaultSheetSelectionModel();
fpSpread1.ActiveSheet.Models.Selection = defselModel;
defselModel.AddSelection(0,0,3,4);
Dim defselModel As New FarPoint.Win.Spread.Model.DefaultSheetSelectionModel() FpSpread1.ActiveSheet.Models.Selection = defselModel defselModel.AddSelection(0, 0, 3, 4)