码迷,mamicode.com
首页 > 其他好文 > 详细

XtraReport 实例化 打印

时间:2015-11-19 22:13:58      阅读:205      评论:0      收藏:0      [点我收藏+]

标签:

// Create a report instance, assigned to a Print Tool.
    ReportPrintTool pt = new ReportPrintTool(new XtraReport1());

    // Invoke the Print dialog.
    pt.PrintDialog();

    // Send the report to the default printer.
    pt.Print();

    // Send the report to the specified printer.
    pt.Print("myPrinter");

XtraReport 实例化 打印

标签:

原文地址:http://www.cnblogs.com/zeroone/p/4978965.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!