| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal chart As SpreadChart, _ ByVal newSheetName As String, _ ByVal newSheetIndex As Integer, _ ByVal createNew As Boolean _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim chart As SpreadChart Dim newSheetName As String Dim newSheetIndex As Integer Dim createNew As Boolean Dim instance As New SpreadChartUndoAction(chart, newSheetName, newSheetIndex, createNew)  | |
| C# | |
|---|---|
public SpreadChartUndoAction( SpreadChart chart, string newSheetName, int newSheetIndex, bool createNew )  | |
Parameters
- chart
 - The chart.
 - newSheetName
 - New name of the sheet.
 - newSheetIndex
 - createNew
 - if set to 
true[create new]. 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8