Name
|
Description
|
visible
|
It allows you to display or not to display the viewer toolbar. By default, the true value is set.
|
displayMode
|
It sets the display of the viewer toolbar. It can take one of the enumeration values below:
• | StiToolbarDisplayMode::Simple – simple display mode, all elements of control are located in one control panel (value is set by default); |
• | StiToolbarDisplayMode::Separated – separated display mode, toolbar is divided into upper and bottom. |
|
backgroundColor
|
It allows you to change the color of toolbar. The 'transparent' value is set by default.
|
borderColor
|
It allows you to change toolbar border color. The 'transparent' value is set by default.
|
fontColor
|
It gives an ability to change the font of all elements in the toolbar and in all menus of this panel. The 'transparent' value is set by default.
|
fontFamily
|
It allows you to change the font for all elements in the toolbar and in all menus of this panel. By default, the 'Arial' value is set.
|
alignment
|
It sets the alignment of elements in the control panel:
• | StiContentAlignment::Default – alignment of elements depends on the RightToLeft option (value is set by default); |
• | StiContentAlignment::Left – all elements will be aligned to the left side 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 side of the toolbar. |
|
showButtonCaptions
|
It enables or disables the display of the viewer toolbar buttons text. By default, the property is set to true.
|
showPrintButton
|
It allows you to display or not to display the Print button. By default, the property is set to true.
|
showOpenButton
|
It enables the display of the Open button in the viewer toolbar when viewing reports or dashboards. By default, the property is set to true.
|
showSaveButton
|
It enables the display of the Save button in the toolbar when viewing reports or dashboards. By default, the property is set to true.
|
showSendEmailButton
|
It allows you to display or not to display the Send Email button in the toolbar. By default, the false value is set. Also, you should add the onEmailReport event handler.
|
showFindButton
|
It allows you to display or not to display the Find button in the toolbar. By default, the property is set to true.
|
showSignatureButton
|
|
showBookmarksButton
|
It allows you to display or not to display the Bookmarks button in the toolbar. If this button is not displayed, the bookmark panel, the bookmark panel will not be displayed in a report. By default, the property is set to true.
|
showParametersButton
|
It allows you to display or not to display the Parameters button in the toolbar. If this button is not displayed, the parameter panel will not be displayed in a report. By default, the property is set to true.
|
showResourcesButton
|
It allows you to display or not to display the Resources button in the toolbar. If this button is not displayed, the resources panel will not be displayed in a report. By default, the property is set to true.
|
showEditorButton
|
It allows you to display or not to display the Editor button in the toolbar. If this button is not displayed, you won't be able to change edited data. By default, the property is set to true.
|
showFullScreenButton
|
It enables the display of the Full Screen button in the viewer toolbar when viewing reports or dashboards. By default, the property is set to true.
|
showRefreshButton
|
It allows you to display or not to display the Refresh button in the viewer toolbar when viewing dashboards. By default, the property is set to true.
|
showFirstPageButton
|
It allows you to display or not to display the First Page button in the toolbar. By default, the property is set to true.
|
showPreviousPageButton
|
It allows you to display or not to display the Previous Page in the toolbar.By default, the property is set to true.
|
showCurrentPageControl
|
It allows you to display or not to display an indicator of the current page in the toolbar.By default, the property is set to true.
|
showNextPageButton
|
It allows you to display or not to display the Next Page button in the toolbar. By default, the property is set to true.
|
showLastPageButton
|
It allows you to display or not to display the Last Page button in the toolbar. By default, the property is set to true.
|
showZoomButton
|
It allows you to display or not to display the Zoom selection button in the toolbar. By default, the property is set to true.
|
showViewModeButton
|
It allows you to display or not to display the report pages display modes button. By default, the property is set to true.
|
showDesignButton
|
It enables the display of the Design button in the viewer toolbar when viewing reports or dashboards. By default, the property is set to false.
|
showAboutButton
|
It allows you to display or not to display the About button. By default, the property is set to true.
|
showPinToolbarButton
|
It allows you to display or not to display the Pin button in the mobile mode of report viewing. By default, the property is set to true.
|
printDestination
|
It sets the report print mode. It can take one of the enumeration values below:
• | StiPrintDestination::Default – the menu with the selection print mode will be displayed (value is set by default); |
• | StiPrintDestination::Pdf – print will be made in PDF format; |
• | StiPrintDestination::Direct – print will be made in HTML format directly to the printer. System print dialog will be displayed; |
• | StiPrintDestination::PopupWindow – print will be made in HTML format via the pop-up window of report preview. |
|
viewMode
|
It sets the report pages display mode:
• | StiWebViewMode::OnePage – one page selected in the toolbar is displayed (value is set by default); |
• | StiWebViewMode::Continuous – all report pages are displayed as a ribbon; |
• | StiWebViewMode::MultiplePages – all report pages are displayed as a table. |
|
zoom
|
It allows you to set the scale of report pages when loading the viewer. 100 percent by default. Max value is 500 percent.
• | StiZoomMode::PageWidth – report pages scale by page width; |
• | StiZoomMode::PageHeight – report pages scale by page height. |
|
menuAnimation
|
It allows you to enable or disable the animation of display and closing various menus in the viewer. By default, the property is set to true.
|
showMenuMode
|
It sets the mode opening of various menus in the viewer when hovering or clicking.
• | StiShowMenuMode::Click – click-to-open menu mode (value is set by default); |
• | StiShowMenuMode::Hover – hover-to-open menu mode. |
|
autoHide
|
It sets the mode of automatic collapsing the toolbar when viewing a report in the mobile mode. By default, the property is set to true.
|