Spread for ASP.NET 9.0 Product Documentation
IsEmpty Method (BaseSheetSpanModel)
Example 


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

Return Value

true if there are no cell spans; false otherwise
Example
This example finds the span in the model with the specified row and column.
FarPoint.Web.Spread.Model.BaseSheetSpanModel bss;
bss = (FarPoint.Web.Spread.Model.BaseSheetSpanModel)FpSpread1.ActiveSheetView.SpanModel;
bss.Add(0, 0, 2, 2);
bss.Add(1, 2, 2, 2);
b = bss.IsEmpty();
Response.Write("The span model is empty is " + b.ToString()); 
Dim bss As FarPoint.Web.Spread.Model.BaseSheetSpanModel
bss = FpSpread1.ActiveSheetView.SpanModel
bss.Add(0, 0, 2, 2)
bss.Add(1, 2, 2, 2)
b = bss.IsEmpty()
Response.Write("The span model is empty is " & b.ToString())
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

BaseSheetSpanModel Class
BaseSheetSpanModel Members

 

 


Copyright © GrapeCity, inc. All rights reserved.