Export directly to PDF

Hi.
How can I directly export to PDF (in Delphi).
I mean, that it will be something like this (i don't want to see preview):
frxReport1.PrepareReport(True);
frxReport1.Export( {TfrxCustomExportFilter} );
I don't know how to use TfrxCustomExportFilter.
Thanks.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 1:31AM
    inetMark wrote: »
    Hi.
    How can I directly export to PDF (in Delphi).
    I mean, that it will be something like this (i don't want to see preview):
    frxReport1.PrepareReport(True);
    frxReport1.Export( {TfrxCustomExportFilter} );
    
    I don't know how to use TfrxCustomExportFilter.
    Thanks.
    frxReport1.Export( the name of the export filter);
    before calling export you should set all the exportfilters properties
  • edited 1:31AM
    Yhx, but I know this. filter properties is TfrxCustomExportFilter. But I don't know how to create it.
  • gordkgordk St.Catherines On. Canada.
    edited 1:31AM
    from your delphi tool palett drop a tfrxpdfxportfilter on your form.
  • edited 1:31AM
    I cannot see nothing like that. But it is working like this now:
    oExportfilter := TfrxCustomExportFilter(frxPDFExport1);
    oExportFilter.ShowDialog := False;
    oExportFilter.FileName := aptd + '\test.pdf';
    frxReport1.PrepareReport(True);
    frxReport1.Export(oExportFilter);
    
  • gordkgordk St.Catherines On. Canada.
    edited 1:31AM
    pallette Fastreport 4 exports.
  • edited 1:31AM
    but in which unit is this fugging PDF exportfilter, what to include??

    In fugging Fastreport FMX will not be installed a exportfilter like in VCL.... i fugging hate this sh!t ..always the same
  • gpigpi
    edited 1:31AM
    Export filters are not included in the free FR FMX Embarcadero edition, they are included in the FR FMX Professional

Leave a Comment