Using the Full-Screen Mode in the Viewer
Наши примеры проектов и шаблоны отчётов помогут Вам разобраться в основах работы с нашими продуктами.Full-screen mode makes the dashboard viewer fill the whole browser window, ideal for dashboard portals. This example enables it.
Viewer setup. Configure the viewer, load the dashboard, assign it to the component, and process the requests or events raised by the UI.
На скриншоте ниже Вы можете увидеть результат выполнения данного кода:

Viewer setup. Configure the viewer, load the dashboard, assign it to the component, and process the requests or events raised by the UI.
var options = new Stimulsoft.Viewer.StiViewerOptions();
options.appearance.fullScreenMode = true;
var viewer = new Stimulsoft.Viewer.StiViewer(options, "StiViewer", false);
var report = Stimulsoft.Report.StiReport.createNewDashboard();
report.loadFile("../dashboard/Christmas.mrt");
viewer.report = report;
viewer.renderHtml();With appearance.fullScreenMode = true the viewer occupies the entire window and behaves like a dedicated dashboard application.На скриншоте ниже Вы можете увидеть результат выполнения данного кода:
