Adobe InDesign CS4 (6.0) Object Model JS: SmartGuidePreference

InDesign CS4

Class

SmartGuidePreference

 Smart Guide preferences. Base Class: Preference

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application
Preference
SmartGuidePreference

Properties

PropertyTypeAccessDescription
alignToObjectCenterbool r/wIf true, smart alignment to object centers is enabled.
alignToObjectEdgesbool r/wIf true, smart alignment to object edges is enabled.
enabledbool r/wIf true, smart guides are enabled.
guideColor3 Reals (0 - 255)
UIColors
r/wThe color of the guide, 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.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentApplication readonlyThe parent of the SmartGuidePreference (a Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
smartDimensionsbool r/wIf true, smart dimensions guides are enabled.
smartSpacingbool r/wIf true, smart spacing guides are enabled.

Methods

Instances

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

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

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.smartGuidePreferences

Return

Array of SmartGuidePreference SmartGuidePreference.getElements ()

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