PDFlibExportDataSet
Tables
Description
PDFlibExportDataSet is the convenience entry point of the dataset export: it configures the library for millimetres and a top-left origin, creates a TPDFlibTableExporter, runs the export and saves the document to the target file
The caller only needs to have created the TPDFlib instance; the DataSetExport demo calls this helper with DefaultTableExportOptions
Syntax
Delphi
Function PDFlibExportDataSet(APDF: TPDFlib; ADataSet: TDataSet;
Const AFileName: string;
Const AOptions: TPDFlibTableExportOptions): Boolean;Fields
| APDF | The library instance owning the export document |
|---|---|
| ADataSet | Any open TDataSet whose fields and records are rendered |
| AFileName | The output PDF file |
| AOptions | The layout and styling options, typically from DefaultTableExportOptions |
Return value
True when the export and save succeeded
See also
TPDFlibTableExporter, DefaultTableExportOptions, TPDFlibTableExportOptions, SaveToFile