Class Table
- Namespace
- SoftZenPdf.Layout
- Assembly
- SoftZenPdf.dll
A table of rows and cells. Column widths are fixed, percentages, or follow the content as in HTML's automatic table layout. Rows that do not fit on a page continue on the next, repeating the header rows; a row taller than a page is split between pages.
public sealed class Table : Block
- Inheritance
-
Table
- Inherited Members
Properties
- Alignment
Where the table sits in the available width.
- CellBorders
The border of cells that set none, or null.
- CellPadding
The padding of cells that set none. Defaults to 2 pt top and bottom and 4 pt at the sides.
- Columns
The columns. Rows may have more cells than there are columns; extra columns are automatic.
- LeftIndent
Indent of the table from the left edge, in points.
- Rows
The rows, top to bottom.
- SpaceAfter
Space below the table, in points.
- SpaceBefore
Space above the table, in points.
Methods
- AddRow(params string[])
Adds a row of text cells and returns it.