Determines whether the model is empty of cell spans.
Syntax
Visual Basic (Declaration) | |
---|
Function IsEmpty() As Boolean |
Return Value
true if empty;
false otherwise
Example
C# | Copy Code |
---|
FarPoint.Web.Spread.Model.ISheetSpanModel iss;
iss = (FarPoint.Web.Spread.Model.ISheetSpanModel)FpSpread1.ActiveSheetView.SpanModel;
bool b;
b = iss.IsEmpty();
string msg = "The model has spans is " + b.ToString();
Response.Write("<script language='javascript'>alert('" + msg + "')</script>");
|
Visual Basic | Copy Code |
---|
Dim iss As FarPoint.Web.Spread.Model.ISheetSpanModel
iss = FpSpread1.ActiveSheetView.SpanModel
Dim b As Boolean = iss.IsEmpty()
Dim msg As String = "The model has spans is " + b.ToString()
Response.Write("<script language='javascript'>alert('" & msg & "')</script>") |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also