FarPoint.Web.Spread.Model 名前空間 > BaseSheetSelectionModel クラス : Count プロパティ |
FarPoint.Web.Spread.Model.BaseSheetSelectionModel bsm; int i; bsm = (FarPoint.Web.Spread.Model.BaseSheetSelectionModel)FpSpread1.ActiveSheetView.SelectionModel; bsm.AddSelection(0, 0, 2, 2); i = bsm.Count; Response.Write("There are " + i.ToString() + " selections.");
Dim bsm As FarPoint.Web.Spread.Model.BaseSheetSelectionModel Dim i As Integer bsm = FpSpread1.ActiveSheetView.SelectionModel bsm.AddSelection(0, 0, 2, 2) i = bsm.Count Response.Write("There are " & i.ToString() & " selections.")