Table of Contents

Interface ITableComposer

Namespace
DocWright.Composition
Assembly
DocWright.Composition.dll

Composes a table: its columns, its header rows and its cells.

public interface ITableComposer

Methods

Borders(double, ColorRgb)

Draws borders on every edge of every cell.

Cell()

Adds a cell to the current body row, starting a new row when the current one is full.

CellPadding(double, Unit)

Sets the margin inside every cell.

Columns(Action<ITableColumnsComposer>)

Defines the table's columns. Must be called before any cell is added.

Header(Action<ITableRowComposer>)

Adds a header row. Header rows repeat on every page the table crosses, which the layout engine already does for any table whose rows are marked as headers.

Row(Action<ITableRowComposer>)

Adds a body row.