Name
|
Description
|
visible
|
Allows the viewer's toolbar to be shown or hidden. By default, this is set to True.
|
displayMode
|
Sets the display mode of the viewer's toolbar. It can take one of the following values from the displayMode enumeration:
• | StiToolbarDisplayMode.SIMPLE – simple display mode, all controls are located on a single toolbar (default value); |
• | StiToolbarDisplayMode.SEPARATED – split display mode, the toolbar is divided into upper and lower parts. |
|
backgroundColor
|
Allows changing the toolbar’s background color. By default, this is set to 'transparent'.
|
borderColor
|
Allows changing the toolbar’s border color. By default, this is set to 'transparent'.
|
fontColor
|
Allows changing the font color for all elements on the toolbar and in all menus of this toolbar. By default, this is set to 'transparent'.
|
fontFamily
|
Allows changing the font for all elements on the toolbar and in all menus of this toolbar. By default, this is set to 'Arial'.
|
alignment
|
Sets the alignment of elements on the toolbar:
• | StiContentAlignment.DEFAULT – alignment depends on the RightToLeft option (default value); |
• | StiContentAlignment.LEFT – all elements will be aligned to the left of the toolbar; |
• | StiContentAlignment.CENTER – all elements will be aligned to the center of the toolbar; |
• | StiContentAlignment.RIGHT – all elements will be aligned to the right of the toolbar. |
|
showButtonCaptions
|
Enables or disables the display of button captions on the viewer’s toolbar. By default, this is set to True.
|
showPrintButton
|
Allows showing or hiding the Print button on the toolbar. By default, this is set to True.
|
showOpenButton
|
Enables the display of the Open button on the viewer's toolbar when viewing reports or dashboards. By default, this is set to True.
|
showSaveButton
|
Enables the display of the Save button on the viewer's toolbar when viewing reports or dashboards. By default, this is set to True.
|
showSendEmailButton
|
Allows showing or hiding the Send Email button on the toolbar. By default, this is set to False. Additionally, the event handler for onEmailReport must be added.
|
showFindButton
|
Allows showing or hiding the Find button on the toolbar. By default, this is set to True.
|
showBookmarksButton
|
Allows showing or hiding the Bookmarks button on the toolbar. If this button is not displayed, the bookmarks panel in the report will not be displayed either. By default, this is set to True.
|
showParametersButton
|
Allows showing or hiding the Parameters button on the toolbar. If this button is not displayed, the parameters panel in the report will not be displayed either. By default, this is set to True.
|
showResourcesButton
|
Allows showing or hiding the Resources button on the toolbar. If this button is not displayed, the resources panel in the report will not be displayed either. By default, this is set to True.
|
showEditorButton
|
Allows showing or hiding the Editor button on the toolbar. If this button is not displayed, editable elements cannot be modified. By default, this is set to True.
|
showFullScreenButton
|
Enables the display of the Full Screen button on the viewer's toolbar when viewing reports or dashboards. By default, this is set to True.
|
showRefreshButton
|
Allows showing or hiding the Refresh button on the viewer’s toolbar when viewing dashboards. By default, this is set to True.
|
showFirstPageButton
|
Allows showing or hiding the First Page button on the toolbar. By default, this is set to True.
|
showPreviousPageButton
|
Allows showing or hiding the Previous Page button on the toolbar. By default, this is set to True.
|
showCurrentPageControl
|
Allows showing or hiding the Current Page indicator on the toolbar. By default, this is set to True.
|
showNextPageButton
|
Allows showing or hiding the Next Page button on the toolbar. By default, this is set to True.
|
showLastPageButton
|
Allows showing or hiding the Last Page button on the toolbar. By default, this is set to True.
|
showZoomButton
|
Allows showing or hiding the Zoom selection button on the toolbar. By default, this is set to True.
|
showViewModeButton
|
Allows showing or hiding the page view Mode button on the toolbar. By default, this is set to True.
|
showDesignButton
|
Enables the display of the Design button on the toolbar when viewing reports or dashboards. By default, this is set to False.
|
showAboutButton
|
Allows showing or hiding the About button on the toolbar. By default, this is set to True.
|
showPinToolbarButton
|
Allows showing or hiding the Pin button in mobile report view mode. By default, this is set to True.
|
printDestination
|
Sets the report print mode. It can take one of the following values from the enumeration:
• | StiPrintDestination.DEFAULT – the menu with print mode options will be displayed (default); |
• | StiPrintDestination.PDF – printing will be done in PDF format; |
• | StiPrintDestination.DIRECT – printing will be done in HTML format directly to the printer, displaying the system print dialog; |
• | StiPrintDestination.WITH_PREVIEW – printing will be done in HTML format through a pop-up report preview window. |
|
viewMode
|
Sets the report page display mode:
• | StiWebViewMode.SINGLE_PAGE – a single page selected from the toolbar is displayed (default); |
• | StiWebViewMode.CONTINUOUS – all report pages are displayed in a continuous scroll; |
• | StiWebViewMode.MULTIPLE_PAGES – all report pages are displayed in a grid. |
|
zoom
|
Allows setting the report page zoom level when loading the viewer. By default, this is set to 100%. The maximum value is 500%. Additionally, one of the following zoom values can be set:
• | StiZoomMode.PAGE_WIDTH – zoom pages to fit page width; |
• | StiZoomMode.PAGE_HEIGHT – zoom pages to fit page height. |
|
menuAnimation
|
Enables or disables animation for displaying and closing various menus in the viewer. By default, this is set to True.
|
showMenuMode
|
Sets the mode for revealing various menus in the viewer. It can take one of the following values:
• | StiShowMenuMode.CLICK – menus are revealed by clicking (default); |
• | StiShowMenuMode.HOVER – menus are revealed by hovering the cursor. |
|
autoHide
|
Sets the auto-hide mode for the toolbar when viewing reports in mobile mode. By default, this is set to False.
|