天天看點

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