Adobe InDesign CS3 (5.0) Object Model JS: MarginPreference

InDesign CS3

Class

MarginPreference

 Margin preferences.

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application | Document | Page
MarginPreference

Properties

PropertyTypeAccessDescription
bottomMeasurement Unit (Number or String) r/wThe bottom edge of the MarginPreference.
columnCountnumber (range: 1 - 216) r/wThe number of columns to place on the page.
columnGutterMeasurement Unit (Number or String) (range: 0 - 1440) r/wThe distance between columns.
columnsPositions Array of Measurement Unit (Number or String) r/wThe distance that each column guide is placed from the left margin, formatted as an array in the format [guide1, guide2, guide3].
customColumnsbool readonlyIf false, columns are evenly spaced. If true, columns can have custom widths.
leftMeasurement Unit (Number or String) r/wThe left edge of the MarginPreference.
parentApplicationDocument
Page
readonlyThe parent of the MarginPreference (a Application, Document or Page).
propertiesObject r/wA property that allows setting of several properties at the same time.
rightMeasurement Unit (Number or String) r/wThe right edge of the MarginPreference.
topMeasurement Unit (Number or String) r/wThe top edge of the MarginPreference.

Methods

Instances

Array of MarginPreference getElements ()
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

Return

Array of MarginPreference MarginPreference.getElements ()

Jongware, 27-Jun-2010 v3.0.3dContents :: Index