Designer Settings
The designer is set using the properties found in the Stimulsoft.Designer.StiDesignerOptions class. All properties are divided into groups for comfortable using. All designer classes and enums you may find in the \Stimulsoft\Designer namespace. To set the designer you should create the class of options, set required properties and transfer an object of options to the designer constructor as the first argument.
designer.php |
<?php use Stimulsoft\Designer\StiDesigner; use Stimulsoft\Designer\Enums\StiDesignerTheme;
$designer = new StiDesigner(); $designer->options->appearance->theme = StiDesignerTheme::Office2022WhiteGreen; $designer->options->toolbar->showFileMenuExit = false; $designer->options->toolbar->showFileMenuOptions = false; $designer->options->bands->showChildBand = false; $designer->options->components->showPanel = false; $designer->options->appearance->showReportTree = false; $designer->options->appearance->showTooltips = false; ?>
|
Main settings (without groups)
|
|
|
|
|
|
Name |
Description |
showTableElement |
It enables the display of the Table dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showCardsElement |
It enables the display of the Cards dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showChartElement |
It enables the display of the Chart dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showGaugeElement |
It enables the display of the Gauge dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showPivotTableElement |
It enables the display of the Pivot dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showIndicatorElement |
It enables the display of the Indicator dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showProgressElement |
It enables the display of the Progress dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showRegionMapElement |
It enables the display of the Region Map dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showOnlineMapElement |
It enables the display of the Online Map dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showImageElement |
It enables the display of the Image dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showWebContentElement |
It enables the display of the dashboard element Web Content in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showTextElement |
It enables the display of the Text dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showPanelElement |
It enables the display of the Panel dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showShapeElement |
It enables the display of the Shape dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showButtonElement |
It enables the display of the Button dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showListBoxElement |
It enables the display of the List Box dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showComboBoxElement |
It enables the display of the Combo Box dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showTreeViewElement |
It enables the display of the Tree View dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showTreeViewBoxElement |
It enables the display of the Tree View Box dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
showDatePickerElement |
It enables the display of the Date Picker dashboard element in the toolbox or the Insert tab in the designer. The property has the true value by default. |
In the table below you can see all available values for the StiDesignerPermissions enumeration. They can be set for report dictionary elements.
You can configure the built-in StiViewer component used to preview the report. To get access to all of its settings, you should use the viewerOptions property, which is an object of the viewer options. All its properties are described in the Viewer settings section. For example, you want to change the report display mode and disable unnecessary export formats:
|