[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITableRows

Interface ITableRows

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

Represents a collection of all the ITableRow objects in the specified ITable object. Each ITableRow object represents a row in the table.

public interface ITableRows : IEnumerable
Inherited Members
System.Collections.IEnumerable.GetEnumerator()

Properties

Count

Returns the number of objects in the collection (read-only).

int Count { get; }

Property Value

int

this[int]

Gets the ITableRow at the specified index.

ITableRow this[int index] { get; }

Parameters

index int

The index.

Property Value

ITableRow

Methods

Add(int, int)

Adds new row(s) to the table object.

void Add(int position, int count)

Parameters

position int

0 based Integer. Specifies the relative position of the new row(s).

count int

Specifies the count of the new row(s).

Add(int)

Adds a new row to the table object. Returns the ITableRow object.

ITableRow Add(int position = -1)

Parameters

position int

Optional 0 based Integer. Specifies the relative position of the new row.

Returns

ITableRow

Returns ITableRowThe new row.

Delete(int, int)

Deletes the cells of the table row(s) and shifts upward any remaining cells below the deleted row(s).

void Delete(int position, int count)

Parameters

position int

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

count int

Specifies the count of the deleted row(s).