GridPreference

Grid preferences.

Objects:

Boolean, Number, Object, UIColors,

Property Listing

Property

Type

Access

Description

baselineColor

Array of 3 Reals (0 - 255)

UIColors

read/write

The 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.

baselineDivision

Number

read/write

A spacing value between baseline grid lines

baselineGridShown

Boolean

read/write

If true, displays the baseline grid.

baselineStart

Number

read/write

A value to offset the grid from the top margin

baselineViewThreshold

Number

read/write

A value to specify the magnification below which the baseline grid does not appear

documentGridShown

Boolean

read/write

If true, displays the document grid.

documentGridSnapto

Boolean

read/write

If true, an object snaps to the nearest grid line when the object is created, moved, or resized.

gridColor

Array of 3 Reals (0 - 255)

UIColors

read/write

The 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.

gridsInBack

Boolean

read/write

If true, places grids behind all other objects on the spread.

horizontalGridSubdivision

Number

read/write

The number of evenly spaced minor horizontal document grid lines appearing between major horizontal document grid lines

horizontalGridlineDivision

Number

read/write

A spacing value between major horizontal document grid lines

parent

Application

Document

readonly

The parent of the GridPreference (a Application or Document).

properties

Object

read/write

A property that allows setting of several properties at the same time.

verticalGridSubdivision

Number

read/write

The number of evenly spaced minor vertical document grid lines appearing between major vertical document grid lines

verticalGridlineDivision

Number

read/write

A spacing value between major vertical document grid lines

Object of

Application.gridPreferences

Document.gridPreferences