Spread for ASP.NET 8.0 Product Documentation
IsEmpty Method (ISheetSpanModel)
Example 


Determines whether the model is empty of cell spans.
Syntax
'Declaration
 
Function IsEmpty() As Boolean
'Usage
 
Dim instance As ISheetSpanModel
Dim value As Boolean
 
value = instance.IsEmpty()
bool IsEmpty()

Return Value

true if empty; false otherwise
Example
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>");
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

Reference

ISheetSpanModel Interface
ISheetSpanModel Members

 

 


Copyright © GrapeCity, inc. All rights reserved.