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.
So the problem was that you were using string values instead of integers.The API documentation explains the var types that can be used with all options of each method.