如何识别用户按下了报表的打印按钮

作者:mayz    来源:慧都控件    浏览:Loading...      日期:2012-12-19

问题解答:

您可以检查report.PrinterSettings.PrintDialogResult属性,请参考以下程序示例:
if (report.CompiledReport != null)
  return report.CompiledReport.PrinterSettings.PrintDialogResult
else
  return report.PrinterSettings.PrintDialogResult;

Tag标签:.NET报表 StimulsoftReports.Net 打印 

本站文章除注明转载外,均为本站原创或翻译
欢迎任何形式的转载,但请务必注明出处,尊重他人劳动成果
转载请注明:文章转载自:Stimulsoft中文网 [http://www.Stimulsoft.cn/]
本文地址: http://www.Stimulsoft.cn/Resources/FAQ/156.html

上一篇: 如何隐藏StimulsoftReports.Net报表设计器面板

下一篇: Stimulsoft Reports.Web的WebViewer能在UpdatePanel组件中运行吗