下载Stimulsoft Reports PHP最新版本

此示例项目显示如何在查看器窗口中编辑呈现的报表的文本单元格。要启用此功能,您需要在报表模板中将所需的文本字段标记为可编辑。其他一切都将自动完成。显示报表时,要进行编辑,应单击查看器工具栏上的“Edit ”按钮:

public MainPage()
{
    InitializeComponent();
 
    // Custom Color
    Stimulsoft.Report.StiOptions.Viewer.HighlightShowBorderColor = Colors.Orange;
    Stimulsoft.Report.StiOptions.Viewer.HighlightActiveBorderColor = Colors.Green;
 
    var stream = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream(
        "EditableReport.EditableReport.mdc");
    if (stream != null)
    {
        Stimulsoft.Report.StiReport report = new Stimulsoft.Report.StiReport();
        report.LoadDocument(stream);
 
        stream.Close();
        stream.Dispose();
        stream = null;
 
        viewer.Report = report;
    }
}

下面的屏幕截图中,您可以看到示例代码的结果。

【Stimulsoft Reports Silverlight教程】可编辑的报表

下载示例

【Stimulsoft Reports Silverlight教程】可编辑的报表

相关文章:

  • 2021-12-10
  • 2021-07-24
  • 2021-11-16
  • 2021-11-19
  • 2021-05-29
  • 2021-04-19
  • 2021-08-14
  • 2021-07-17
猜你喜欢
  • 2021-04-23
  • 2022-01-01
  • 2021-04-05
  • 2021-04-12
  • 2021-05-17
  • 2022-12-23
  • 2021-08-02
相关资源
相似解决方案