Class TableCell

Namespace
SoftZenPdf.Layout
Assembly
SoftZenPdf.dll

A table cell holding blocks.

public sealed class TableCell
Inheritance
TableCell
Inherited Members

Constructors

TableCell()

Creates an empty cell.

TableCell(string, TextStyle?)

Creates a cell with one paragraph of text.

Properties

Background

The background colour, or null to use the row's.

Blocks

The content, top to bottom.

Borders

The border, or null to use the table's CellBorders.

ColumnSpan

How many columns the cell covers. Defaults to 1.

Padding

The padding, or null to use the table's CellPadding.

RowSpan

How many rows the cell covers. Defaults to 1.

VerticalAlignment

Where the content sits vertically.