作成日: 2025/01/16 最終更新日: 2025/01/16
文書種別
不具合
状況
回避方法あり
詳細
セクションレポートを印刷したとき、SectionReport.PrintProgressイベントが発生しません。
回避方法
以下のように、SectionDocument.PrintProgressイベントを使用してください。
◆サンプルコード (C#)
var rpt = new SectionReport1();
rpt.Run();
rpt.Document.PrintProgress += doc_PrintProgress;
viewer1.Document= rpt.Document;
◆サンプルコード (VB.NET)
Dim rpt As New SectionReport1
rpt.Run()
AddHandler rpt.Document.PrintProgress, AddressOf doc_PrintProgress
viewer1.Document = rpt.Document