TDBGrid 내보내기 지원

dbGridHotPDFExport 애드온 unit(Lib\addons\DBGrid)은 TDBGrid 데이터셋의 보이는 열과 모든 행을 PDF 테이블로 기록합니다. 자체 THotPDF 문서를 만들고 채우고 저장하므로 그리드만 들어오면 됩니다

진입점

내보내는 내용

데이터셋 상태

예제

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;

관련 API