Adobe InDesign CS (3.0) Object Model JS: GridPreference

InDesign CS

Class

GridPreference

 Grid preferences.

Hierarchy

Application | Document
GridPreference

Properties

PropertyTypeAccessDescription
baselineColor3 Reals (0 - 255)
UIColors
r/wThe color of the baseline grid, specified either as an array of three doubles, each in the range 0 to 255, representing R, G, and B values, or as a UI color. . Can return: Array of 3 Reals (0 - 255) or UIColors enumerator.
baselineDivisionnumber r/wA spacing value between baseline grid lines
baselineGridShownbool r/wIf true, displays the baseline grid.
baselineStartnumber r/wA value to offset the grid from the top margin
baselineViewThresholdnumber r/wA value to specify the magnification below which the baseline grid does not appear
documentGridShownbool r/wIf true, displays the document grid.
documentGridSnaptobool r/wIf true, an object snaps to the nearest grid line when the object is created, moved, or resized.
gridColor3 Reals (0 - 255)
UIColors
r/wThe color of the document grid, specified either as an array of three doubles, each in the range 0 to 255, representing R, G, and B values, or as a UI color. Can return: Array of 3 Reals (0 - 255) or UIColors enumerator.
gridsInBackbool r/wIf true, places grids behind all other objects on the spread.
horizontalGridSubdivisionnumber r/wThe number of evenly spaced minor horizontal document grid lines appearing between major horizontal document grid lines
horizontalGridlineDivisionnumber r/wA spacing value between major horizontal document grid lines
parentApplication
Document
readonlyThe parent of the GridPreference (a Application or Document).
propertiesObject r/wA property that allows setting of several properties at the same time.
verticalGridSubdivisionnumber r/wThe number of evenly spaced minor vertical document grid lines appearing between major vertical document grid lines
verticalGridlineDivisionnumber r/wA spacing value between major vertical document grid lines

Element of

Application.gridPreferences

Document.gridPreferences

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