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.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.