Export Pdf using frxPdfExport under program control without Preview
Hello,
I am hoping to generate a report and save it to a pdf file without a user interface or the user seeing the preview form.
I can't find the method for frxPDFExport that actually creates the pdf file.
Something like:
Thanks.
Hardee Mahoney
Washington DC
I am hoping to generate a report and save it to a pdf file without a user interface or the user seeing the preview form.
I can't find the method for frxPDFExport that actually creates the pdf file.
Something like:
  DataMod.frxReport1.LoadFromFile(ReportFile, true);
  PdfFile := ExtractFilePath(ParamStr(0)) + 'Report.pdf';
  SetBaselineVariables;
  DataMod.frxReport1.PrepareReport(true);
  //DataMod.frxReport1.ShowPreparedReport;
  DataMod.frxPDFExport1.Report := DataMod.frxReport1;
  DataMod.frxPDFExport1.FileName := ReportFile;
  DataMod.frxPDFExport1. ?
Thanks.
Hardee Mahoney
Washington DC
Comments