FastReport.Documentation
FastReport.Documentation copied to clipboard
pdf download
Hi,
Is there any function , to download or print as pdf?. thank you
Hello!
you can use:
Report report = new Report();
report.Load("your report.frx");
report.Prepare();
var pDFExport = new PDFExport();
pDFExport.Export(report, "pdf file name.pdf");
To print like this:
Report report = new Report();
report.Load(@"your report.frx");
report.Prepare();
report.PrintSettings.Printer = "microsoft pdf printer";
report.Print();