Hello,
I have the following Problem:
I have a report with the Page number in the Bottom Margin using xrPageInfo. (Page 1 of n)
If I export a single report to PDF it works fine.
If I export multiple Reports to a single PDF-File n is the number of Pages in the entire PDF-Document, but the requirement is, that n should be the number of pages of a single report.
How it is:
Report1:
1 of 4
2 of 4
Report2:
3 of 4
4 of 4
how it should be:
Report1:
1 of 2
2 of 2
Report2:
1 of 2
2 of 2
C#BaseReport firstReport = new BaseReport(protokolle.First());
firstReport.CreateDocument();
foreach (IBNProtokoll prot in protokolle.Skip(1))
{
BaseReport rep = new BaseReport(prot);
rep.CreateDocument();
firstReport.Pages.AddRange(rep.Pages);
}
// ...
firstReport.ExportToPdf(saveDialog.FileName, new DevExpress.XtraPrinting.PdfExportOptions() { ExportEditingFieldsToAcroForms = true });
Thank you for your help!