Spread Windows Forms 6.0 Product Documentation
SpreadChartUndoAction Constructor(SpreadChart,String,Int32,Boolean)
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Chart Namespace > SpreadChartUndoAction Class > SpreadChartUndoAction Constructor : SpreadChartUndoAction Constructor(SpreadChart,String,Int32,Boolean)


chart
The chart.
newSheetName
New name of the sheet.
newSheetIndex
createNew
if set to true [create new].

Glossary Item Box

Initializes a new instance of the SpreadChartUndoAction class.

Syntax

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].

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.