Cloud
Облачный сервис для быстрого и эффективного анализа и визуализации данных для вашего бизнеса без необходимости создания своих приложений и программирования.
var Stimulsoft = require('stimulsoft-reports-js');
var report = new Stimulsoft.Report.StiReport();
report.loadFile("SimpleList.mrt");
report.renderAsync(() => {
report.exportDocumentAsync((pdfData) => {
var buffer = Buffer.from(pdfData);
fs.writeFileSync('./SimpleList.pdf', buffer);
}, Stimulsoft.Report.StiExportFormat.Pdf);
});exportDocumentAsync returns the PDF as a byte array; wrapping it in a Node Buffer and calling fs.writeFileSync saves it to disk. This is the basis for server-side report delivery, e-mail attachments and scheduled exports.