MESCIUS SPREAD for ASP.NET 10.0J
IsEmpty メソッド (DefaultSheetAxisModel)

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

戻り値の型

データを含む行または列がない場合はtrue、それ以外の場合はfalse
解説
モデルがデータを持たない場合は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>")
参照

DefaultSheetAxisModel クラス
DefaultSheetAxisModel メンバ

 

 


© MESCIUS inc. All rights reserved.