[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.RowCollection

Class RowCollection

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a collection of Row objects.

public class RowCollection : ContentObjectCollection<Row>, IContentList<Row>, IReadOnlyList<Row>, IReadOnlyCollection<Row>, IEnumerable<Row>, IEnumerable
Inheritance
object
RowCollection
Implements
System.Collections.Generic.IReadOnlyList<T><Row>
System.Collections.Generic.IReadOnlyCollection<T><Row>
System.Collections.Generic.IEnumerable<T><Row>
System.Collections.IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Methods

Add()

Adds a Row to this collection. The row is added to the end of the last table in the range.

public Row Add()

Returns

Row

The add Row.

Add(params string[])

Adds a Row to this collection. The row is added to the end of the last table in the range.

public Row Add(params string[] texts)

Parameters

texts string[]

An array of row cell texts. The size of the array determines the number of cells in the row.

Returns

Row

The adedd Row.

Insert(Row)

Inserts a Row into this collection before a specified row.

public Row Insert(Row before)

Parameters

before Row

The table row before which to insert new row. If null, the new row will be added to the end of the last table in the range.

Returns

Row

The inserted Row.

Insert(string[], InsertLocation)

Inserts a Row into this collection at the specified location.

public Row Insert(string[] texts, InsertLocation location)

Parameters

texts string[]

An array of row cell texts. The size of the array determines the number of cells in the row.

location InsertLocation

The row insert position in the current range.

Returns

Row

The inserted Row.

Insert(string[], Row)

Inserts a Row into this collection before a specified row.

public Row Insert(string[] texts, Row before)

Parameters

texts string[]

An array of row cell texts. The size of the array determines the number of cells in the row.

before Row

The table row before which to insert new row. If null, the new row will be added to the end of the last table in the range.

Returns

Row

The inserted Row.