Forum


Replies: 3   Views: 3669
How to change the margins of whole page?
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 cftongz  · 09-12-2013 - 11:35

How to change the margins of whole page?


Posted by jorgelj  · 09-12-2013 - 13:12

Hello,



Using the modifyPageLayout method you have these options:



     * marginTop (int): measurement in twips (twentieths of a point)

     * marginRight (int): measurement in twips (twentieths of a point)

     * marginBottom (int): measurement in twips (twentieths of a point)

     * marginLeft (int): measurement in twips (twentieths of a point)

     * marginHeader (int): measurement in twips (twentieths of a point)

     * marginFooter (int): measurement in twips (twentieths of a point)



Regards.


Posted by cftongz  · 12-12-2013 - 09:42

Thank you. It is solved.