How to change orientation of PDF with FOP to Landscape in Natural for AJAX ?
Thank You !!
Erik San
How to change orientation of PDF with FOP to Landscape in Natural for AJAX ?
Thank You !!
Erik San
Hi Erik,
If you are using the cisfo:* controls set, you can easily exchange the pageheight and pagewidth values in the cisfo:foppage2 tag:
Portrait:
<cisfo:foppage2 pageheight=“29.7cm” pagewidth=“21cm” …
Landscape:
<cisfo:foppage2 pageheight=“21cm” pagewidth=“29.7cm” …
Does this work for you?
Best Regards,
Christine
Thank you Christine !!
I made the changes and It worked well
Best Regards!!
Erik