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


Determines whether rows and columns do not exist in the model. (This implementation always returns false.)
Syntax
'Declaration
 
Public Overridable Function IsEmpty() As Boolean
'Usage
 
Dim instance As BaseSheetAxisModel
Dim value As Boolean
 
value = instance.IsEmpty()
public virtual bool IsEmpty()

Return Value

true if there are no rows or columns with data; false otherwise
Example
This example returns whether the model is empty.
FarPoint.Web.Spread.Model.BaseSheetAxisModel b;
bool tf;
b = (FarPoint.Web.Spread.Model.BaseSheetAxisModel)FpSpread1.ActiveSheetView.ColumnAxisModel;
tf = b.IsEmpty();
Response.Write(tf.ToString()); 
Dim b As FarPoint.Web.Spread.Model.BaseSheetAxisModel
Dim tf As Boolean
b = FpSpread1.ActiveSheetView.ColumnAxisModel
tf = b.IsEmpty()
Response.Write(tf.ToString()) 
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

BaseSheetAxisModel Class
BaseSheetAxisModel Members

 

 


Copyright © GrapeCity, inc. All rights reserved.