Adobe InDesign CS4 (6.0) Object Model JS: BaselineFrameGridOption

InDesign CS4

Class

BaselineFrameGridOption

 Baseline frame grid options. Base Class: Preference

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application | Document | ObjectStyle | TextFrame
Preference
BaselineFrameGridOption

Properties

PropertyTypeAccessDescription
baselineFrameGridColor3 Reals (0 - 255)
UIColors
r/wThe grid line color, specified either as an array of three doubles, each in the range 0 to 255 and representing R, G, and B values, or as a UI color. Can return: Array of 3 Reals (0 - 255) or UIColors enumerator.
baselineFrameGridIncrementMeasurement Unit (Number or String) (range: 1 - 8640) r/wThe distance between grid lines.
baselineFrameGridRelativeOptionBaselineFrameGridRelativeOption:
BaselineFrameGridRelativeOption.TOP_OF_PAGE
BaselineFrameGridRelativeOption.TOP_OF_MARGIN
BaselineFrameGridRelativeOption.TOP_OF_FRAME
BaselineFrameGridRelativeOption.TOP_OF_INSET
r/wThe location (top of page, top margin, top of frame, or frame inset) on which to base the custom baseline grid.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentApplication
Document
ObjectStyle
TextFrame
readonlyThe parent of the BaselineFrameGridOption (a Application, Document, TextFrame or ObjectStyle).
propertiesObject r/wA property that allows setting of several properties at the same time.
startingOffsetForBaselineFrameGridMeasurement Unit (Number or String) (range: 0 - 8640) r/wThe amount to offset the baseline grid.
useCustomBaselineFrameGridbool r/wIf true, uses a custom baseline frame grid.

Methods

Instances

Array of BaselineFrameGridOption getElements ()
Resolves the object specifier, creating an array of object references.

string toSource ()
Generates a string which, if executed, will return the BaselineFrameGridOption.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.baselineFrameGridOptions

Document.baselineFrameGridOptions

ObjectStyle.baselineFrameGridOptions

TextFrame.baselineFrameGridOptions

Return

Array of BaselineFrameGridOption BaselineFrameGridOption.getElements ()

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