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


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()
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

ISheetAxisModel Interface
ISheetAxisModel Members

 

 


Copyright © GrapeCity, inc. All rights reserved.