Table of Contents

Class TextTableBuilder

Namespace
OdfKit.Text
Assembly
OdfKit.dll

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

startRow int

The one-based start row. / 起始列,採 1 為基準。

startColumn int

The one-based start column. / 起始欄,採 1 為基準。

rowSpan int

The number of rows spanned. / 跨列數。

columnSpan int

The 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

row int

The one-based row index. / 列索引,採 1 為基準。

column int

The one-based column index. / 欄索引,採 1 為基準。

text string

The cell text. / 儲存格文字。

Returns

TextTableBuilder

The current builder instance. / 目前 builder 執行個體。