Class Cell
Represents a Cell.
Inherited Members
Namespace: DRIT.Document.Tables
Assembly: DRIT.Document.dll
Syntax
public class Cell : Story, IEnumerable<Node>, IEnumerable
Constructors
Cell()
Initializes a new instance of the Cell class.
Declaration
public Cell()
Properties
CellFormat
Gets or sets cell format.
Declaration
public CellFormat CellFormat { get; }
Property Value
| Type | Description |
|---|---|
| CellFormat |
CellFormatRevision
Gets or sets the tracked revision for this cell's formatting.
Declaration
public TableCellFormatRevision CellFormatRevision { get; set; }
Property Value
| Type | Description |
|---|---|
| TableCellFormatRevision |
NodeType
Gets node type.
Declaration
public override NodeType NodeType { get; }
Property Value
| Type | Description |
|---|---|
| NodeType |
Overrides
ParentRow
Gets or sets parent row.
Declaration
public Row ParentRow { get; }
Property Value
| Type | Description |
|---|---|
| Row |
Methods
SetText(string)
Replaces the text in the first cell paragraph while preserving its formatting.
Declaration
public Paragraph SetText(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The replacement text. |
Returns
| Type | Description |
|---|---|
| Paragraph | The first paragraph in the cell. |