Allow access to page margins
Currently there is no direct way to access page margins in the Word JS API. If I want to insert a new document into the file, it maintains the page margins of the current document.
Thank you for your input, it is greatly appreciated. We’re currently reviewing this suggestion. We’ll keep you posted!
Office Extensibility Team
Paul Griffiths commented
Likewise the ability to set page layout (e.g. landscape or portrait).
Can you also do that for Excel?
Russell Halvorson commented
I am developing an add-in where this is critically important. Please add this feature as soon as possible.