PowerTools SPREAD for ASP.NET 8.0J
IsEmpty メソッド (ISheetAxisModel)

モデル内に行と列が存在しないかどうかを判別します。
構文
'Declaration
 
Function IsEmpty() As Boolean
bool IsEmpty()

戻り値の型

データを含む行または列がない場合はtrue、それ以外の場合はfalse
FarPoint.Web.Spread.Model.ISheetAxisModel isa;
isa = (FarPoint.Web.Spread.Model.ISheetAxisModel)FpSpread1.ActiveSheetView.ColumnAxisModel;
bool b = isa.IsEmpty();
string msg = "The model is empty is " + b.ToString();
Response.Write("<script language='javascript'>alert('" + msg + "')</script>");
Dim isa As FarPoint.Web.Spread.Model.ISheetAxisModel
isa = FpSpread1.ActiveSheetView.ColumnAxisModel
Dim b As Boolean = isa.IsEmpty()
Dim msg As String = "The model is empty is " & b.ToString()
Response.Write("<script language='javascript'>alert('" & msg & "')</script>")
参照

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

 

 


© 2003-2015, GrapeCity inc. All rights reserved.