The viewer's toolbar and export options can be trimmed to expose only the features you want. This example hides the Open button and the PDF export.

Viewer setup. Configure the viewer, load the report, assign it to the component, and process the requests or events raised by the UI.
var viewerOptions = new Stimulsoft.Viewer.StiViewerOptions();
viewerOptions.appearance.theme = Stimulsoft.Viewer.StiViewerTheme.Office2022LightGrayTeal;
viewerOptions.appearance.fullScreenMode = true;
viewerOptions.toolbar.showOpenButton = false;
viewerOptions.exports.showExportToPdf = false;

return <Viewer options={viewerOptions} report={report} />;
The toolbar and exports option groups switch individual buttons and export formats on and off, so you can present anything from a full-featured viewer to a minimal one limited to specific actions.

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