TPDFlibTableExportOptions
Tables
Description
TPDFlibTableExportOptions controls the layout and styling of a dataset export; start from DefaultTableExportOptions and override single fields instead of filling the whole record by hand
Distances are millimetres and colours are RGB component triples in the range 0 to 1
Syntax
Delphi
TPDFlibTableExportOptions = Record
Left: Double;
Top: Double;
BottomMargin: Double;
ColumnWidth: Double;
RowHeight: Double;
HeaderColor: Array [0..2] Of Double;
HeaderTextColor: Array [0..2] Of Double;
StripeColor: Array [0..2] Of Double;
Stripe: Boolean;
RepeatHeader: Boolean;
Title: string;
End;Fields
| Left | The table left edge in millimetres |
|---|---|
| Top | The table top on the first page in millimetres |
| BottomMargin | The bottom margin in millimetres that drives pagination |
| ColumnWidth | The default column width in millimetres |
| RowHeight | The row height in millimetres, where 0 lets the cells measure themselves |
| HeaderColor | The header band fill as an RGB triple in 0 to 1 |
| HeaderTextColor | The header text colour as an RGB triple in 0 to 1 |
| StripeColor | The zebra-stripe fill as an RGB triple in 0 to 1 |
| Stripe | Enables zebra striping of alternating rows |
| RepeatHeader | Re-draws the header row at the top of each continuation page |
| Title | An optional title drawn above the table |
See also
DefaultTableExportOptions, TPDFlibTableExporter, PDFlibExportDataSet, TPDFlibTableFieldSpec