JasperReports saves filled report data as an intermediate destination file (extension jrprint), from which it can create multiple export files. You can export filled reports as PDF, HTML, XML, CSV (comma-separated values, readable by Excel), and plain text output. Use the reportLib.exportReport() function in the EGL report driver, paired with a statement that sets an export file location (see the example that follows) to export a version of a report.
myReport.ReportExportFile = "c:\\temp\\my_report.pdf"; reportLib.exportReport(myReport, ExportFormat.pdf);
Important: JasperReports does not automatically refresh exported reports. If you change the report design or if data changes, you must refill and re-export the report.
Related concepts
EGL report creation process overview
EGL reports overview
Related tasks
Generating files for and running a report
Writing code to drive a report
Related reference
EGL library ReportLib
EGL report handler