Spread ASP.NET 6.0 Product Documentation
IsEmpty Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > BaseSheetAxisModel Class : IsEmpty Method


Glossary Item Box

Determines whether no rows and columns exist in the model. (This implementation always returns false.)

Syntax

Visual Basic (Declaration) 
Public Overridable Function IsEmpty() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As BaseSheetAxisModel
Dim value As Boolean
 
value = instance.IsEmpty()
C# 
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.
C#Copy Code
FarPoint.Web.Spread.Model.BaseSheetAxisModel b;
bool tf;
b = (FarPoint.Web.Spread.Model.BaseSheetAxisModel)FpSpread1.ActiveSheetView.ColumnAxisModel;
tf = b.IsEmpty();
Response.Write(tf.ToString()); 
Visual BasicCopy Code
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.