How to change page orientaion from potrait to landscape alternatively for same report using script(after render)?
-
Hi sir ,
I have a report with multiple pages, i would like to change the orientation of the same report from Portrait to Landscape alternatively using script (after render, pdf utils ).could you please reply with an example?. I saw one example using mixed page orientation but it is done using two templates. but in my case i have only one template which contain multiple page and i need to change the orientation from portrait to landscape programatically using script (after render).But i couldn't find any solutions. So please reply with an example?
-
Maybe this helps?
https://playground.jsreport.net/w/anon/oLlF1Bd0However, you still need to render a template twice, to be able to have mixed orientation.
-
Thank you so much for your valuable information.