Spread.Sheets Documentation
addSheet Method
GC.Spread.Sheets Namespace > Workbook type : addSheet Method
The index at which to add a sheet.
The sheet to be added.
Inserts a sheet at the specific index.
Syntax
var instance = new GC.Spread.Sheets.Workbook(host);
var value; // Type: any
value = instance.addSheet(index, sheet);
function addSheet( 
   index : number,
   sheet : Worksheet
) : any;

Parameters

index
The index at which to add a sheet.
sheet
The sheet to be added.
Example
This example adds a sheet to the spreadsheet.
spread.addSheet(0,new GC.Spread.Sheets.Worksheet("custom"));
See Also

Reference

Workbook type