Forum


Replies: 2   Views: 3043
Page orientation being changed by phpdocx
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by asher  · 04-01-2013 - 19:42

Hi all,

I'm using phpdocx to insert some HTML into a Word document. Most of the document is in portrait, but the page that I want to insert the HTML on is in landscape. When I insert the HTML, PHPDOCX changes the orientation of the page.

How can I prevent this behaviour occuring?

Posted by admin  · 11-04-2013 - 12:13

Hello,

You can use modifyPageLayout method to change paper type and other options related to page layout.

Regards. Jorge.