Table of Contents

Class TableComposer

Namespace
Rustaveli.Pdf
Assembly
Rustaveli.Pdf.dll

Declares a table's columns and adds its cells: those of the body, and those of header and footer rows drawn again on every page the table runs on to.

public sealed class TableComposer
Inheritance
TableComposer
Inherited Members

Remarks

One set of columns serves the body, the header and the footer alike. A cell not given a row or a column is placed in the next slot free, left to right and then top to bottom, each band laid out on its own. The cells are placed and checked against the columns as soon as the table is composed, so a table that cannot be laid out fails where it is written rather than when the document is exported.

Methods

Cell()

Adds a cell to the body of the table.

public CellFrame Cell()

Returns

CellFrame

Columns(Action<TableColumns>)

Declares columns, after any declared already.

public void Columns(Action<TableColumns> handler)

Parameters

handler Action<TableColumns>

ExtendLastCellsToBottom()

Stretches, on every page, each cell that is the last in every column it covers down to the bottom of the rows on that page, so that a column ending early still reaches the foot of the table.

public void ExtendLastCellsToBottom()

FooterRows(Action<TableBand>)

Adds cells to the rows drawn at the bottom of every page the table runs on to, after any added already.

public void FooterRows(Action<TableBand> handler)

Parameters

handler Action<TableBand>

HeaderRows(Action<TableBand>)

Adds cells to the rows drawn at the top of every page the table runs on to, after any added already.

public void HeaderRows(Action<TableBand> handler)

Parameters

handler Action<TableBand>