Skip to main content
Known Participant
June 9, 2012
Question

columnCount question

  • June 9, 2012
  • 1 reply
  • 581 views

What does the property app.documents[0].marginPreferences.columnCount refer to?

It's valid but changing the value doesn't change the display of anything I can see.

It's not the number of columns that display on thepage.  That property is

app.activeDocument.pages[0].marginPreferences.columnCount

Thanks for helping me understand the DOM ...

This topic has been closed for replies.

1 reply

Community Expert
June 9, 2012

@Rick – you can use that property to pre-define the column count for new master spreads.

Example:

app.documents[0].marginPreferences.columnCount = 4;

app.documents[0].masterSpreads.add();

The added master spread should have 4 columns.

Uwe