Spread for ASP.NET 9.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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

ISheetSpanModel Interface
ISheetSpanModel Members

 

 


Copyright © GrapeCity, inc. All rights reserved.