TableCellClass
Definition
- Namespace
- DOM.Elements.TableElements
- Assembly
- DOM.dll
Represents a single cell within a table.
Remarks
A is a container for any inline or block content: paragraphs, text runs, images, shapes, or nested elements. It corresponds to a <w:tc> element in WordprocessingML and to a <td> in HTML. TableCell A new cell holds a single empty placeholder paragraph, so an empty cell is still valid in Word. The first content added to the cell replaces it, whichever method adds it, so no empty line is left above. and append to the cell's last paragraph; the other methods add new elements after the existing ones. Add* Add* AddText(string) AddText(IText)
Examples
Constructors
Initializes a new instance of the class. TableCell
Properties
Gets or sets the style applied to this table cell.
Methods
Adds to the cell. The first content added to a new cell replaces its empty placeholder paragraph. children
Adds a new node containing to this cell. Text text
Returns true while the cell holds nothing but its unchanged placeholder paragraph.
Sets the content of the current cell.
Splits the current cell into multiple cells, covering the specified row and column span.