Grid preferences.
grid preference Properties
| Property | Type | Access | Description |
|---|---|---|---|
| baseline color | any | r/w | 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: list of 3 fixed (0 – 255) or light blue/red/green/blue/yellow/magenta/cyan/gray/… |
| baseline division | number | r/w | The amount of space between baseline grid lines. . Can return: number or string (1 – 8640 points). |
| baseline grid relative option | top of page of baseline grid relative option, top of margin of baseline grid relative option, |
r/w | The zero point for the baseline grid offset. |
| baseline grid shown | boolean | r/w | If true, displays the baseline grid. |
| baseline start | number | r/w | The amount to offset the baseline grid from the zero point. . Can return: number or string (0 – 1000 points). |
| baseline view threshold | real | r/w | The magnification (as a percentage) less than which ruler guides do not appear. (Range: 5 to 4000). Can return: fixed (5 – 4000). |
| class | type | read | The class descriptor type. |
| document grid shown | boolean | r/w | If true, displays the document grid. |
| document grid snapto | boolean | r/w | If true, an object snaps to the nearest grid line when the object is created, moved, or resized. |
| grid color | any | r/w | 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: list of 3 fixed (0 – 255) or light blue/red/green/blue/yellow/magenta/cyan/gray/bl… |
| grids in back | boolean | r/w | If true, places grids behind all other objects on the spread. |
| horizontal grid subdivision | integer | r/w | The number of rows into which to subdivide the space between horizontal document grid lines. Can return: integer (1 – 1000). |
| horizontal gridline division | number | r/w | The amount of space between major horizontal lines in the document grid. . Can return: number or string (0.01 – 1000 points). |
| object reference | grid preference | read | An object reference for the object. |
| parent | specifier | read | The parent of the grid preference (a application or document). Can return: application or document. |
| properties | record | r/w | A property that allows setting of several properties at the same time. |
| vertical grid subdivision | integer | r/w | The number of columns into which to subdivide the space between vertical document grid lines. Can return: integer (1 – 1000). |
| vertical gridline division | number | r/w | The amount of space between major vertical lines in the document grid. . Can return: number or string (0.01 – 1000 points). |