Copilot for Microsoft 365 Tech Accelerator
Feb 28 2024 07:00 AM - Feb 29 2024 10:30 AM (PST)
Microsoft Tech Community

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
Copper Contributor

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.