[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITableColumns

Interface ITableColumns

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Represents a collection of all the ITableColumn objects in the specified ITable object. Each ITableColumn object represents a column in the table.

public interface ITableColumns

Properties

Count

Returns the number of objects in the collection.

int Count { get; }

Property Value

int

this[int]

Gets the ITableColumn at the specified index.

ITableColumn this[int index] { get; }

Parameters

index int

The index.

Property Value

ITableColumn

this[string]

Gets the ITableColumn at the specified column name.

ITableColumn this[string name] { get; }

Parameters

name string

The column name.

Property Value

ITableColumn

Methods

Add(int, int)

Adds new column(s) to the table object.

void Add(int position, int count)

Parameters

position int

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

count int

Specifies the count of the new column(s).

Add(int)

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

ITableColumn Add(int position = -1)

Parameters

position int

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

ITableColumn

Returns ITableColumnThe new column.

Delete(int, int)

Deletes the column(s) of data in the table.

void Delete(int position, int count)

Parameters

position int

0 based Integer. Specifies the relative position of the deleted column(s).

count int

Specifies the count of the deleted column(s).