[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.CellCollection

Class CellCollection

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

Represents a collection of Cell objects.

public class CellCollection : ContentObjectCollection<Cell>, IContentList<Cell>, IReadOnlyList<Cell>, IReadOnlyCollection<Cell>, IEnumerable<Cell>, IEnumerable
Inheritance
object
CellCollection
Implements
System.Collections.Generic.IReadOnlyList<T><Cell>
System.Collections.Generic.IReadOnlyCollection<T><Cell>
System.Collections.Generic.IEnumerable<T><Cell>
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 Cell to this collection. The cell is added to the end of the last table row in the range.

public Cell Add()

Returns

Cell

The added Cell.

Add(string)

Adds a Cell to this collection, to the end of the last table row in the range.

public Cell Add(string text)

Parameters

text string

The paragraph text in the new cell.

Returns

Cell

The added Cell.

Insert(Cell)

Inserts a Cell into this collection before a specified cell.

public Cell Insert(Cell before)

Parameters

before Cell

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

Returns

Cell

The inserted Cell.

Insert(string, Cell)

Inserts a Cell into this collection before a specified cell.

public Cell Insert(string text, Cell before)

Parameters

text string

The paragraph text in the new cell.

before Cell

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

Returns

Cell

The inserted Cell.

Insert(string, InsertLocation)

Inserts a Cell into this collection at the specified location.

public Cell Insert(string text, InsertLocation location)

Parameters

text string

The paragraph text in the new cell.

location InsertLocation

The row insert position in the current range.

Returns

Cell

The inserted Cell.