Class TextTableBuilder
Builds text tables with a fluent API. 提供文字表格的 Fluent 建立 API。
public sealed class TextTableBuilder
- Inheritance
-
TextTableBuilder
- Inherited Members
Methods
MergeCells(int, int, int, int)
Merges cells. 合併儲存格。
public TextTableBuilder MergeCells(int startRow, int startColumn, int rowSpan, int columnSpan)
Parameters
startRowintThe one-based start row. / 起始列,採 1 為基準。
startColumnintThe one-based start column. / 起始欄,採 1 為基準。
rowSpanintThe number of rows spanned. / 跨列數。
columnSpanintThe number of columns spanned. / 跨欄數。
Returns
- TextTableBuilder
The current builder instance. / 目前 builder 執行個體。
SetCell(int, int, string)
Sets the cell text. 設定儲存格文字。
public TextTableBuilder SetCell(int row, int column, string text)
Parameters
rowintThe one-based row index. / 列索引,採 1 為基準。
columnintThe one-based column index. / 欄索引,採 1 為基準。
textstringThe cell text. / 儲存格文字。
Returns
- TextTableBuilder
The current builder instance. / 目前 builder 執行個體。