Add Rendered Page
Posted: Sun Dec 13, 2015 6:39 am
Hi
I Want to print multiple report at once
What I did
that is work.But the problem is the Design of Report is desturbing in some systems but When It's Not using multiple report it doesn't Happen.
It means the design of report is ok the problem is in above Code.
Can you Help me ?
I Want to print multiple report at once
What I did
Code: Select all
StiReport reportAll = new StiReport();
reportAll.Render();
reportAll.RenderedPages.Clear();
foreach (var id in selectedIds)
{
StiReport stiReport1 = new StiReport();
//Code that Make Report
stiReport1.Render(false);
foreach (StiPage page in stiReport1.RenderedPages)
{
reportAll.RenderedPages.Add(page);
}
}
reportAll.Print();
It means the design of report is ok the problem is in above Code.
Can you Help me ?