I'm using the report builder XtraReport
, and using ReportPrintTool
to view and then print.
However, I had to, just visualize, blocking the impression. Is it possible?
View button:
private void button8_Click(object sender, EventArgs e) // botao imprimir
{
// Create a report.
imp_orcamento report = new imp_orcamento(Convert.ToInt32(textBox1.Text));
// Show the report's preview.
ReportPrintTool tool = new ReportPrintTool(report);
tool.ShowRibbonPreviewDialog();
}