Exporting a Dashboard
Our sample projects and report templates can help you learn the basics of working with our products.A dashboard renders and exports to documents and data formats just like a report.
Load, then export.
How it works. The dashboard is rendered and serialized to the chosen format in one call, ready to be saved or sent.
Load, then export.
var report = StiReport.CreateNewDashboard();
report.Load("Dashboards\\DashboardChristmas.mrt");
var stream = new FileStream("Dashboard.pdf", FileMode.Create);
report.ExportDocument(StiExportFormat.Pdf, stream); // Excel, Image, ...ExportDocument(StiExportFormat, stream)— writes the dashboard; theStiExportFormatenum picks PDF, Excel, image and more.
How it works. The dashboard is rendered and serialized to the chosen format in one call, ready to be saved or sent.