Spread WPF Documentation
SheetCount Property (Workbook)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Workbook Class : SheetCount Property
Gets or sets the number of sheets for this workbook.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property SheetCount As System.Integer
'Usage
 
Dim instance As Workbook
Dim value As System.Integer
 
instance.SheetCount = value
 
value = instance.SheetCount
[System.ComponentModel.DefaultValue()]
public System.int SheetCount {get; set;}

Property Value

The number of sheets for this workbook.
Example
This example sets the SheetCount property.
//Set SheetCount to change number of sheets
gcSpreadSheet1.SheetCount = 3;
'Set SheetCount to change the number of sheets
 GcSpreadSheet1.SheetCount = 3
See Also

Reference

Workbook Class
Workbook Members