[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITableColumns.Add

Add Method

Add(int)

Adds a new column to the table object. Returns the ITableColumn object.

Declaration
ITableColumn Add(int position = -1)
Function Add(Optional position As Integer = -1) As ITableColumn
Parameters
Type Name Description
int position

Optional Object, the position. Specifies the relative position of the new column that starts at 0. The previous column at this position is shifted outward.

Returns
Type Description
ITableColumn

Returns ITableColumnThe new column.

Add(int, int)

Adds new column(s) to the table object.

Declaration
void Add(int position, int count)
Sub Add(position As Integer, count As Integer)
Parameters
Type Name Description
int position

0 based Integer. Specifies the relative position of the new column(s). The previous column at this position is shifted outward.

int count

Specifies the count of the new column(s).