Replies: 5   Views: 1436
How to add modifypagelayout ( string $papertype [ array $options ) for customizing document format
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 abhay.pai  · 14-04-2017 - 11:42

Thanks a lot for informing.

But anyways, i had managed to work on it.

        $docx->modifyPageLayout('custom', array('marginLeft' => 860.779527559, 'marginRight' => 860.779527559, 'marginTop' => 200, 'marginBottom' => 200,));