Showing a Viewer without Toolbar
Our sample projects and report templates can help you learn the basics of working with our products.The Blazor viewer is configured through a
Configure the options.
How it works. The options object controls every aspect of the viewer, so the same component can be a full editor or a bare preview.
StiBlazorViewerOptions object — here the toolbar is hidden and full-screen mode is enabled.Configure the options.
Options = new StiBlazorViewerOptions();
Options.Toolbar.Visible = false;
Options.Toolbar.ViewMode = StiWebViewMode.Continuous;
Options.Appearance.FullScreenMode = true;Pass them to the viewer.<StiBlazorViewer Report="@Report" Options="@Options" />Toolbar.Visible— show or hide the toolbar;Toolbar.ViewModesets single-page or continuous scrolling.Appearance.FullScreenMode— open the viewer occupying the whole area.
How it works. The options object controls every aspect of the viewer, so the same component can be a full editor or a bare preview.