Is there anyone knows how to get PDF prints from "fast report"? (.NET)
report1.Export(frxPDFExport1);
that line doesn't work, ?
Hi here is the answer how to export to pdf.
using FastReport.Export.Pdf;
report1.Prepare();
PDFExport pdf = new PDFExport();
report1.Export(pdf, "c:\\ExportedPDF.pdf");
That's it :) to export to other formats you need to create appropriate ExportBase object. Also if your report have forms - then user must click ok first and only then it will create pdf because of Prepare method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With