We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Set page margin

Hi Team,
I need to set different margin to all pages.Please help with a workaround solution.
Using version PDF::19.10
Word:: 19.11


You can use PageSetup class to set the page margins and other properties of a section in Word document. The PageSetup object contains all the page setup attributes of a section (left margin, bottom margin, paper size, and so on) as properties.

Please check the members of PageSetup class and read the following article. Hope this helps you.
Page Setup and Section Formatting