Margin preferences.
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| bottom | number | r/w | The bottom edge of the MarginPreference. |
| columnCount | number | r/w | The number of columns to place on the page. |
| columnGutter | number | r/w | The distance between columns. |
| columnsPositions | Array of number | r/w | The distance that each column guide is placed from the left margin, formatted as an array in the format [guide1, guide2, guide3]. |
| customColumns | bool | readonly | If false, columns are evenly spaced. If true, columns can have custom widths. |
| left | number | r/w | The left edge of the MarginPreference. |
| parent | any | readonly | The parent of the MarginPreference (a Application, Document or Page). |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
| right | number | r/w | The right edge of the MarginPreference. |
| top | number | r/w | The top edge of the MarginPreference. |
Methods
Array of MarginPreferencegetElements ()
Resolves the object specifier, creating an array of object references.
string toSource ()
Generates a string which, if executed, will return the MarginPreference.
string toSpecifier ()
Retrieves the object specifier.
Element of:
Application.marginPreferences
Document.marginPreferences
Page.marginPreferences
Returned by:
Array of MarginPreference MarginPreference .getElements (
)