The viewer can be shown without its toolbar for a clean, read-only preview. This example configures viewer options and passes them to the component.

Viewer setup. Configure the viewer, load the report, assign it to the component, and process the requests or events raised by the UI.
<StiBlazorViewer Report="@Report" Options="@Options" />

@code {
    private StiReport Report;
    private StiBlazorViewerOptions Options;

    protected override void OnInitialized()
    {
        base.OnInitialized();
        this.Options = new StiBlazorViewerOptions();
        this.Options.Toolbar.Visible = false;
        this.Options.Toolbar.ViewMode = StiWebViewMode.Continuous;
        this.Options.Appearance.FullScreenMode = true;

        this.Report = new StiReport();
        this.Report.Load("Reports/TwoSimpleLists.mrt");
    }
}
A StiBlazorViewerOptions object is passed through the Options parameter. Here the toolbar is hidden, all pages are shown continuously, and full-screen mode is enabled.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.