Determines whether there are no rows and columns in the model.
Syntax
Visual Basic (Declaration) | |
---|
Function IsEmpty() As Boolean |
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.
C# | Copy Code |
---|
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(); |
Visual Basic | Copy Code |
---|
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() |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also