Settings

Setting the Web designer can be done using the static properties, which are described in the Stimulsoft.Report.Web.StiWebDesignerSLOptions class. Static properties of the Web designer can be divided into following groups:

The main menu of the Web designer can be setup according to user’s requirements. This group of static properties StiWebDesignerSLOptions.Menu allows enabling/disabling the main menu or submenu items

Name Description
SaveReportAsPageEnabled property enables/disables the Save Report As… menu item. If the SaveReportAsPageEnabled property is set to true, then the menu item is enabled and can be available for a user. If false then it is disabled and cannot be available for a user. By default the property is set to true;
OpenReportEnabled property enables/disables the Open Report menu item. If the OpenReportEnabled property is set to true, then the menu item is enabled and can be available for a user. If false then it is disabled and cannot be available for a user. By default the property is set to true;
CloseEnabled property enables/disables the Close menu item. If the CloseEnabled property is set to true, then the menu item is enabled and can be available for a user. If false then it is disabled and cannot be available for a user. By default the property is set to true;
SavePageAsEnabled property enables/disables the Save Page As… menu item. If the SavePageAsEnabled property is set to true, then the menu item is enabled and can be available for a user. If false then it is disabled and cannot be available for a user. By default the property is set to true;
OpenPageEnabled property enables/disables the Open Page… menu item. If the OpenPageEnabled property is set to true, then the menu item is enabled and can be available for a user. If false then it is disabled and cannot be available for a user. By default the property is set to true;
DeletePageEnabled property enables/disables the Delete Page menu item. If the DeletePageEnabled property is set to true, then the menu item is enabled and can be available for a user. If false then it is disabled and cannot be available for a user. By default the property is set to true;
NewEnabled property enables/disables the New menu item. If the NewEnabled property is set to true, then the menu item is enabled and can be available for a user. If false then it is disabled and cannot be available for a user. By default the property is set to true. The New menu item contains the submenu, where the submenu item are present. They are: New Report, New Report With Wizard, New Page. The picture below is shows the submenu of the New item:
ReportEnabled property enables/disables the Report menu item. If the ReportEnabled property is set to true, then the menu item is enabled and can be available for a user. If false then it is disabled and cannot be available for a user. By default the property is set to true. This menu item contains the submenu shown on the picture below:
DesignerEnabled property enables/disables the Designer menu item. If the DesignerEnabled property is set to true, then the menu item is enabled and can be available for a user. If false then it is disabled and cannot be available for a user. By default the property is set to true. This menu item contains the submenu shown on the picture below:
OptionsEnabled property enables/disables the Options menu item. If the OptionsEnabled property is set to true, then the menu item is enabled and can be available for a user. If false then it is disabled and cannot be available for a user. By default the property is set to true.

Zooming

The properties of the StiWebDesignerSL Zoom panel are described below:

Name Description
ShowPageViewContinuousModeButton Property is used to show/hide the Continuous button. If the ShowPageViewContinuousModeButton property is set to true, then the Continuous button will be shown. If the ShowPageViewContinuousModeButton property is set to false, then the Continuous button will be hidden. By default, this property is set to true.
ShowPageViewMultipleModeButton Property is used to show/hide the Multiple Pages button. If the ShowPageViewMultipleModeButton property is set to true, then the Multiple Pages button will be shown. If the ShowPageViewMultipleModeButton property is set to false, then the Multiple Pages button will be hidden. By default, this property is set to true.
ShowSliderZoomControl Property is used to show/hide the Zoom slider. If the ShowZoom property is set to true, then the Zoom slider will be shown. If the ShowZoom property is set to false, then the Zoom slider will be hidden. By default, this property is set to true.
ZoomMode Is used to change report zoom. This property has the following values: Default, OnePage, TwoPages, PageWidth: The Default value sets previously saved zoom of a report in WebDesignerSL. So, if a report was saved with 37% zoom then, when opening it next time, 37% zoom of a report showing remains; The PageWidth value sets zoom by Page Width. So the width of the report template matches the width of the window of the web designer; The PageHeight value sets zoom by Page Height. So the height of the report template matches the height of the window of the web designer; The OnePage value sets zoom by One Page. So the entire page of the report template fits in the window of the web designer.
Zoom Provides an opportunity to zoom in the designer. This property can take any value from 0 to 100, where the value of the Zoom is the zoom percentage. For example, if the Zoom property is set to 70, the zoom in the designer will be equal to 70 percent.

Viewer

The group of static StiWebDesignerSLOptions.Viewer. properties allows setting the viewer. The list of properties is represented below.

Name Description
ShowMainToolBar Property is used to show/hide the Tool Bar. If the ShowMainToolBar property is set to true, then the Tool Bar panel will be shown. If the ShowMainToolBar property is set to false, then the Tool Bar panel will be hidden. By default the property is set to true.
ShowPrintButton Property is used to show/hide the Print button. If the ShowPrintButton property is set to true, then the Print button will be shown. If the ShowPrintButton property is set to false, then the Print button will be hidden. By default the property is set to true.
ShowReportOpenButton Property is used to show/hide the Open button. If the ShowReportOpenButton property is set to true, then the Open button will be shown. If the ShowReportOpenButton property is set to false, then the Open button will be hidden. By default the property is set to true.
ShowReportSaveButton Property is used to show/hide the Save button. If the ShowReportSaveButton property is set to true, then the Save button will be shown. If the ShowReportSaveButton property is set to false, then the Save button will be hidden. By default the property is set to true.
ShowPageNewButton Property is used to show/hide the Page New button. If the ShowPageNewButton property is set to true, then the Page New button will be shown. If the ShowPageNewButton property is set to false, then the Page New button will be hidden. By default the property is set to true.
ShowPageDeleteButton Property is used to show/hide the Page Delete button. If the ShowPageDeleteButton property is set to true, then the Page Delete button will be shown. If the ShowPageDeleteButton property is set to false, then the Page Delete button will be hidden. By default the property is set to true.
ShowPageDesignButton Property is used to show/hide the Edit button. If the ShowPageDesignButton property is set to true, then the Edit button will be shown. If the ShowPageDesignButton property is set to false, then the Edit button will be hidden. By default the property is set to true.
ShowPageSizeButton Property is used to show/hide the Page Size button. If the ShowPageSizeButton property is set to true, then the Page Size button will be shown. If the ShowPageSizeButton property is set to false, then the Page Size button will be hidden. By default the property is set to true.
ShowBookmarksPanel Property is used to show/hide the Bookmarks panel. If the ShowBookmarksButton property is set to true, then the Bookmarks panel will be shown. If the ShowBookmarksButton property is set to false, then the Bookmarks panel will be hidden. By default the property is set to true.
ShowToolFindButton Property is used to show/hide the Find button. If the ShowToolFindButton property is set to true, then the Find button will be shown. If the ShowToolFindButton property is set to false, then the Find button will be hidden. By default the property is set to true.
ShowFullScreenButton Property is used to show/hide the Full Screen button. If the ShowFullScreenButton property is set to true, then the Full Screen button will be shown. If the ShowFullScreenButton property is set to false, then the Full Screen button will be hidden. By default the property is set to true.
ShowZoomOnePageButton Property is used to show/hide the One Page button. If the ShowZoomOnePageButton property is set to true, then the One Page button will be shown. If the ShowZoomOnePageButton property is set to false, then the One Page button will be hidden. By default the property is set to true.
ShowZoomTwoPagesButton Property is used to show/hide the Two Pages button. If the ShowZoomTwoPagesButton property is set to true, then the Two Pages button will be shown. If the ShowZoomTwoPagesButton property is set to false, then the Two Pages button will be hidden. By default the property is set to true.
ShowZoomPageWidthButton Property is used to show/hide the Page Width button. If the ShowZoomPageWidthButton property is set to true, then the Page Width button will be shown. If the ShowZoomPageWidthButton property is set to false, then the Page Width button will be hidden. By default the property is set to true.
ShowToolEditorButton Property is used to show/hide the Tool Editor button. If the ShowToolEditorButton property is set to true, then the Tool Editor button will be shown. If the ShowToolEditorButton property is set to false, then the Tool Editor button will be hidden. By default the property is set to true.
ShowDocumentButton Property is used to show/hide the Document button. If the ShowDocumentButton property is set to true, then the Document button will be shown. If the ShowDocumentButton property is set to false, then the Document button will be hidden. By default the property is set to true.
ShowPdfButton Property is used to show/hide the Export to PDF button . If the ShowPdfButton property is set to true, then the Tool Editor button will be shown. If the ShowPdfButton property is set to false, then the Tool Editor button will be hidden. By default the property is set to true.
ShowFirstPageButton Property is used to show/hide the First Page button. If the ShowFirstPageButton property is set to true, then the First Page button will be shown. If the ShowFirstPageButton property is set to false, then the First Page button will be hidden. By default the property is set to true.
ShowPageLastButton Property is used to show/hide the Last Page button. If the ShowPageLastButton property is set to true, then the Last Page button will be shown. If the ShowPageLastButton property is set to false, then the Last Page button will be hidden. By default the property is set to true.
ShowPageGoToButton Property is used to show/hide the Go to Page button. If the ShowPageGoToButton property is set to true, then the Go to Page button will be shown. If the ShowPageGoToButton property is set to false, then the Go to Page button will be hidden. By default the property is set to true.
ShowPageNextButton Property is used to show/hide the Next Page button. If the ShowPageNextButton property is set to true, then the Next Page property is set to false, then the ShowPageNextButton property is set to false, then the Next Page button will be hidden. By default the property is set to true.
ShowPreviousPageButton Property is used to show/hide the Previous Page button. If the ShowPreviousPageButton property is set to true, then the Previous Page button will be shown. If the ShowPreviousPageButton property is set to false, then the Previous Page button will be hidden. By default the property is set to true.
ShowPageViewSingleModeButton Property is used to show/hide the Single Page button. If the ShowPageViewSingleModeButton property is set to true, then the Single Page button will be shown. If the ShowPageViewSingleModeButton property is set to false, then the Single Page button will be hidden. By default the property is set to true.
ShowPageViewContinuousModeButton Property is used to show/hide the Continuous button. If the ShowPageViewContinuousModeButton property is set to true, then the Continuous button will be shown. If the ShowPageViewContinuousModeButton property is set to false, then the Continuous button will be hidden. By default the property is set to true.
ShowPageViewMultipleModeButton Property is used to show/hide the Multiple Pages button. If the ShowPageViewMultipleModeButton property is set to true, then the Multiple Pages button will be shown. If the ShowPageViewMultipleModeButton property is set to false, then the Multiple Pages button will be hidden. By default the property is set to true.
ShowSliderZoomControl Property is used to show/hide the Zoom slider. If the ShowZoom property is set to true, then the Zoom slider will be shown. If the ShowZoom property is set to false, then the Zoom slider will be hidden. By default the property is set to true.
Zoom Property is used to change the report zoom in the viewer. This property can have any value from 0 to 100, where the Zoom value is zoom in percent.