以编程方式打印Activereports页面

时间:2010-05-14 20:52:55

标签: winforms activereports

如何以编程方式从activereports报告Windows查看器控件中打印特定页面?

1 个答案:

答案 0 :(得分:2)

 viewer.Document.Printer.PrinterSettings.FromPage = 2;
 viewer.Document.Printer.PrinterSettings.ToPage = 4;
 viewer.Document.Print(false, true);

您可以在http://www.datadynamics.com/Help/ActiveReports6/ActiveReports6_start.html?ActiveReports.Document~DataDynamics.ActiveReports.Document.Printer.html

找到有关以编程方式设置打印机选项的详细信息

希望这有帮助!

Scott Willeke
GrapeCity