Cloud
Cloud-Dienstleistung für schnelle und effektive Analyse und Visualisierung von Daten für Ihr Business ohne eigene Applikationen zu erstellen oder zu programmieren.
var report = new Stimulsoft.Report.StiReport();
report.loadFile("../reports/SimpleList.mrt");
report.renderAsync(function () { });
function saveReportPdf() {
report.exportDocumentAsync(function (pdfData) {
var fileName = report.reportAlias;
Stimulsoft.System.StiObject.saveAs(pdfData, fileName + ".pdf", "application/pdf");
}, Stimulsoft.Report.StiExportFormat.Pdf);
}exportDocumentAsync exports the rendered report to the format given by StiExportFormat and returns the data in a callback. The helper Stimulsoft.System.StiObject.saveAs then prompts the browser to download the file.