TDBGrid export support

The dbGridHotPDFExport add-on unit (Lib\addons\DBGrid) writes a TDBGrid dataset's visible columns and every row into a PDF table. It creates, fills and saves its own THotPDF document, so the grid is the sole input it needs

Entry points

What is exported

Dataset state

Example

uses
  dbGridHotPDFExport;

var
  Options: TDBGridHotPDFExportOptions;
begin
  Options:= DBGridHotPDFDefaultOptions;
  Options.Title:= 'Customers';
  Options.PageWidth:= 842;   // A4 landscape
  Options.PageHeight:= 595;
  DBGridHotPDFExportToFile(DBGrid1, 'Customers.pdf', Options);
end;

Related APIs