[]
Represents a collection of Cell objects.
public class CellCollection : ContentObjectCollection<Cell>, IContentList<Cell>, IReadOnlyList<Cell>, IReadOnlyCollection<Cell>, IEnumerable<Cell>, IEnumerable
Adds a Cell to this collection. The cell is added to the end of the last table row in the range.
public Cell Add()
Adds a Cell to this collection, to the end of the last table row in the range.
public Cell Add(string text)
text
stringThe paragraph text in the new cell.
Inserts a Cell into this collection before a specified cell.
public Cell Insert(Cell before)
before
CellThe 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.
Inserts a Cell into this collection before a specified cell.
public Cell Insert(string text, Cell before)
text
stringThe paragraph text in the new cell.
before
CellThe 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.
Inserts a Cell into this collection at the specified location.
public Cell Insert(string text, InsertLocation location)
text
stringThe paragraph text in the new cell.
location
InsertLocationThe row insert position in the current range.