FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス : AddSelection メソッド |
'Declaration Public Sub AddSelection( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal rowCount As Integer, _ ByVal columnCount As Integer _ )
FarPoint.Win.Spread.SheetView sv = new FarPoint.Win.Spread.SheetView();
sv.AddSelection(0, 0, 2, 2);
fpSpread1.Sheets.Add(sv);
fpSpread1.ActiveSheet = sv;
Dim sv As New FarPoint.Win.Spread.SheetView() sv.AddSelection(0, 0, 2, 2) FpSpread1.Sheets.Add(sv) FpSpread1.ActiveSheet = sv