Allow changing page size and margin of each section of the document

Allow changing page size and margin of each section of the document
0

Upvotes

Upvote

 Jan 01 2022
1 Comments (1 New)
New

Currently there is no way of changing page size and margins of the document except for diving into OOXML. It is a very common use case for an add-in to be able to have read/write access to page size and margin of each section of a document.

Comments
Occasional Visitor

More research has revealed that this is not even possible with OOXML. So there is literally no way of changing page size, orientation or margins using Office.js. This is very basic functionality and should have been supported from the very first version. Kindly look into it and suggest a workaround or add this feature to the API.