How to set the Layout Margins to equal the Document Setup Margins via Javascript
Greetings,
The code below is setting the File->Document Setup "Margins" to 0 for all sides,
graphicTemplate.marginPreferences.properties = {
top : 0,
left: 0,
right: 0,
bottom:0
};but I noticed it's leaving the "Margin" values under Layout -> Margins and Columns on some default value of 0.5".
Can you please provide the javascript needed to have the Layout Margins equal the Document Margins.
Thank you for your help on this.
