Class OdfTableCell
Represents a cell within a table. 表示表格中的儲存格。
public class OdfTableCell
- Inheritance
-
OdfTableCell
- Inherited Members
Constructors
OdfTableCell(OdfNode, TextDocument)
Represents a cell within a table. 表示表格中的儲存格。
public OdfTableCell(OdfNode node, TextDocument doc)
Parameters
nodeOdfNodeThe OdfKit.DOM.OdfNode associated with this cell. / 與此儲存格相關聯的 OdfNode 節點。
docTextDocumentThe owning text document. / 所屬的文字文件。
Properties
TextContent
Gets or sets the cell's text content. 取得或設定儲存格的文字內容。
public string TextContent { get; set; }
Property Value
Methods
AddParagraph(string)
Adds a paragraph to the cell. 在儲存格中新增段落。
public OdfParagraph AddParagraph(string text)
Parameters
textstringThe paragraph text content. / 段落文字內文。
Returns
- OdfParagraph
The newly created paragraph instance. / 新建立的段落物件執行個體。