MESCIUS SPREAD for ASP.NET 10.0J
Count プロパティ (ISheetSelectionModel)

セルの選択領域の数を取得します。
構文
'Declaration
 
ReadOnly Property Count As Integer
int Count {get;}

プロパティ値

選択範囲の数を表すInteger
FarPoint.Web.Spread.Model.ISheetSelectionModel iss;
iss = (FarPoint.Web.Spread.Model.ISheetSelectionModel)FpSpread1.ActiveSheetView.SelectionModel;
iss.SetSelection(0, 0, 2, 2);
int i = iss.Count();
string msg = "The number of selections is " + i.ToString();
Response.Write("<script language='javascript'>alert('" + msg + "')</script>");
Dim iss As FarPoint.Web.Spread.Model.ISheetSelectionModel
iss = FpSpread1.ActiveSheetView.SelectionModel
iss.SetSelection(0, 0, 2, 2)
Dim i As Integer = iss.Count()
Dim msg As String = "The number of selections is " + i.ToString()
Response.Write("<script language='javascript'>alert('" & msg & "')</script>")
参照

ISheetSelectionModel インタフェース
ISheetSelectionModel メンバ

 

 


© MESCIUS inc. All rights reserved.