Spread Windows Forms 11.0 Product Documentation
IsEmpty Method (ISheetAxisModel)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > ISheetAxisModel Interface : IsEmpty Method
Determines whether there are no rows and columns in the model.
Syntax
'Declaration
 
Function IsEmpty() As Boolean
'Usage
 
Dim instance As ISheetAxisModel
Dim value As Boolean
 
value = instance.IsEmpty()
bool IsEmpty()

Return Value

Boolean: true if the sheet contains no rows or columns; false otherwise
Example
This example returns whether there are any columns in the spreadsheet.
FarPoint.Win.Spread.Model.ISheetAxisModel isa;
isa = (FarPoint.Win.Spread.Model.ISheetAxisModel)fpSpread1.ActiveSheet.Models.ColumnAxis;
label1.Text = "Are there any columns in the spreadsheet = " + isa.IsEmpty().ToString();
Dim isa As FarPoint.Win.Spread.Model.ISheetAxisModel
isa = FpSpread1.ActiveSheet.Models.ColumnAxis
Label1.Text = "Are there any columns in the spreadsheet = " & isa.IsEmpty().ToString()
See Also

Reference

ISheetAxisModel Interface
ISheetAxisModel Members