Hi
I'm not good at english, hard to explain... sorry
Our code
var reportObj = new Report(); reportObj.ReportSettings.HorizontalPaginationMode = HorizontalPaginationMode.Scale; var section = new EmbeddedVisualReportSection(gridPrintArea); reportObj.Sections.Add(section); reportObj.Print(true, false);
last line... report.obj.print has no return value.
We need printdialog's return value... true, false, null...
reportObj.ShowPrintDialog() <- this code not work... no print
Is there way to return PrintDialog result?
var result = reportObj.ShowPrintDialog();
if (result != true) return;
reportObj.Print(false, false);
now work!