Posted 25 April 2021, 10:18 pm EST
Hello,
Thanks for the suggestion. Follwed the steps & I am able to generate a report that is landscape on Page 1 & portrait on page 2.(see attached video). However, I am having issues with header. I need a common header/footer for all pages in the doc. I followed steps
// main section report where I have defined haeder
var mainSectionReport = ReportManager.Instance.AddMainSectionReport();
// attachStream1 is the stream output from Rdf rendering for page report with
// landscape orientation (Page 1 in attached video)
var sectionReport1 = new SectionReport();
sectionReport1.Document.Load(attachStream1);
// attachStream1 is the stream output from Rdf rendering for page report with
// portrait orientation (Page 2 in attached video)
var sectionReport2 = new SectionReport();
sectionReport2.Document.Load(attachStream2);
// at this point the pagecount in mainSectionReport is zero
// adding pages from two section reports to main section report mainSectionReport.Document.Pages.AddRange(sectionReport1.Document.Pages); mainSectionReport.Document.Pages.AddRange(sectionReport2.Document.Pages);
//Loading document to see the report as in attached video
Viewer.LoadDocument(mainSectionReport.Document);
Now, I do not see the header defined in 'mainSectionReport".
How can I get a common header/footer in the final doc?
tMixed Page Orientation.zip