| Visual Basic (Declaration) | |
|---|---|
Public Sub Insert( _ ByVal index As Integer, _ ByVal chart As SpreadChart _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As SpreadChartCollection Dim index As Integer Dim chart As SpreadChart instance.Insert(index, chart)  | |
| C# | |
|---|---|
public void Insert( int index, SpreadChart chart )  | |
Parameters
- index
 - The specified index which the chart will be inserted.
 - chart
 - The chart will be inserted to the collection.
 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8