[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Charts.ICharts.Add

Add Method

Add()

Inserts a chart directly onto the grid.

Declaration
void Add()
Sub Add()

Add(string, string, int)

Inserts a chart directly onto the grid.

Declaration
void Add(string before = null, string after = null, int count = 1)
Sub Add(Optional before As String = Nothing, Optional after As String = Nothing, Optional count As Integer = 1)
Parameters
Type Name Description
string before

A string value that specifies the sheet before which the new sheet is added. You cannot specify before if you specify after.

string after

A string value that specifies the sheet after which the new sheet is added. You cannot specify after if you specify before.

int count

The number of sheets to be added.

Add(ISheet, ISheet, int)

Inserts a chart directly onto the grid.

Declaration
void Add(ISheet before = null, ISheet after = null, int count = 1)
Sub Add(Optional before As ISheet = Nothing, Optional after As ISheet = Nothing, Optional count As Integer = 1)
Parameters
Type Name Description
ISheet before

An ISheet object that specifies the sheet before which the new sheet is added. You cannot specify before if you specify after.

ISheet after

An ISheet object that specifies the sheet after which the new sheet is added. You cannot specify after if you specify before.

int count

The number of sheets to be added.

Add(int, int, int)

Inserts a chart directly onto the grid.

Declaration
void Add(int before = -1, int after = -1, int count = 1)
Sub Add(Optional before As Integer = -1, Optional after As Integer = -1, Optional count As Integer = 1)
Parameters
Type Name Description
int before

Index of the sheet before which the new sheet is added. You cannot specify before if you specify after.

int after

Index of the sheet after which the new sheet is added. You cannot specify after if you specify before.

int count

The number of sheets to be added.