Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1725
PrintPreview with alternating page orientation
posted

I have a report that I'm trying to use printpreview to show to the user before actually printing.  The report has some pages portrait and some pages landscape. In the final report or in an exported PDF the pages show properly but not during print preview.

In looking at the  PrintPage event arguments the pagesettings (e.PageSettings.Landscape) does not change page to page to reflect the orientation set in the report section.  Also, I can't find any reference to the actual report section or anything that I could use to figure out how the page should be rendered during preview.

 Is there something I'm missing here that would help me. If know that in debug if I manually change the PageSettings between the 2 orientations I get pages displayed as I would expect ... some landscape and some portrait so I know that the preview will render properly if I can just set it somehow.

Parents
No Data
Reply Children
No Data