Forum


Replies: 4   Views: 3412
Change page layout dynamic?
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 marcushjortsberg  · 11-04-2013 - 12:13

Ok,

so in pseudo code

addsometext
modifypagelayout (A4, normal, no margins)
addsomenewtext
modifypagelayout (A4, landscape, margins)

??

The modifypagelayout should come after the added text? And is valid until I change the layout again?
And I can change the pagelayout ad many times I want?

I have gotten some errors when tampering with these settings...
Something goes wrong sometimes, sometimes I get some fatal errors and the document won't open:(