I'm quite new to Stimulsoft and I have an issue.
I followed your sample to export the report to pdf file.
Code: Select all
report.render();
var pdfData = report.exportDocument(Stimulsoft.Report.StiExportFormat.Pdf);
// Get report file name
var fileName = String.isNullOrEmpty(report.reportAlias) ? report.reportName : report.reportAlias;
// Save data to file
Object.saveAs(pdfData, fileName + ".pdf", "application/pdf");
Is there another way to directly save the pdf in a fixed directory, without asking the user to choose it?
kind regards,
Matteo