Cloud
Облачный сервис для быстрого и эффективного анализа и визуализации данных для вашего бизнеса без необходимости создания своих приложений и программирования.
@page "/"
@using Stimulsoft.Base
@using Stimulsoft.Report
@using Stimulsoft.Report.Blazor
@using Stimulsoft.Report.Web
<!--Report Designer-->
<StiBlazorDesigner Report="@Report" Options="@Options" Theme="StiDesignerTheme.Office2022BlackCarmine" />
@code
{
//Report object to use in Designer
private StiReport Report;
//Designer options object
private StiBlazorDesignerOptions Options;
protected override void OnInitialized()
{
base.OnInitialized();
//How to activate
//Stimulsoft.Base.StiLicense.Key = "6vJhGtLLLz2GNviWmUTrhSqnO...";
//Stimulsoft.Base.StiLicense.LoadFromFile("stimulsoft.key");
//Stimulsoft.Base.StiLicense.LoadFromStream(stream);
//Init options object
this.Options = new StiBlazorDesignerOptions();
//Set some options
this.Options.Toolbar.ShowPageButton = false;
this.Options.Toolbar.ShowInsertButton = false;
this.Options.Toolbar.ShowLayoutButton = false;
this.Options.Appearance.ShowTooltips = false;
this.Options.Appearance.ShowDialogsHelp = false;
//Create empty report object
this.Report = new StiReport();
//Load report template
this.Report.Load("Reports/TwoSimpleLists.mrt");
}
}<StiBlazorDesigner> component mirrors the viewer: a StiBlazorDesignerOptions object controls which toolbar buttons and help features appear, and the Theme parameter sets the interface style.