Spread WPF Documentation
SheetCount Property (Workbook)
Example 


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
Requirements

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

See Also

Reference

Workbook Class
Workbook Members

 

 


Copyright © GrapeCity, inc. All rights reserved.