Question
"doc.adjustLayoutPreferences.enableAutoAdjustMargins = true" does not work
I try to adjust document. Before it I set adjustLayoutPreferences:
doc.adjustLayoutPreferences.enableAdjustLayout = true;
doc.adjustLayoutPreferences.enableAutoAdjustMargins = true;
doc.adjustLayoutPreferences.allowFontSizeAndLeadingAdjustment = true;
doc.adjustLayoutPreferences.allowLockedObjectsToAdjust = true;
doc.adjustLayout({width: "1200px"});
After this I got new page size and new font sizes, BUT old margins.
Is it an error in InDesign?