Print output of report with subreports is scaled when printing from code.
Posted: Sat Sep 08, 2007 4:30 am
I'm using stimulreport 2007.2.
The ouput of printing reports with subreports added using the SubReports property gets scaled.
You can test it very easily using the sample program "PrintTable" which is supplied by stimulsoft.
Replace the line 224 in Form1.cs from
into
When you print, the output get scaled to whatever the zoomfactor is when showing the report on screen.
When printing by pushing the button on the toolbar, the output is correct.
The ouput of printing reports with subreports added using the SubReports property gets scaled.
You can test it very easily using the sample program "PrintTable" which is supplied by stimulsoft.
Replace the line 224 in Form1.cs from
Code: Select all
report.Show();
Code: Select all
Stimulsoft.Report.StiReport mainreport = new StiReport();
mainreport.SubReports.Add(report);
mainreport.Print();
When printing by pushing the button on the toolbar, the output is correct.