Skip navigation
Currently Being Moderated

columnCount question

Jun 8, 2012 6:56 PM

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 ...

 
Replies
  • Currently Being Moderated
    Jun 9, 2012 12:26 AM   in reply to rick_schwein

    @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

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points