XtraReport 实例化 打印

// 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");

posted on 2015-11-19 20:31  武胜-阿伟  阅读(1102)  评论(0编辑  收藏  举报