Grid preferences.
GridPreference Properties
| Property | Type | Access | Description |
|---|---|---|---|
| BaselineColor | Array of 3 Doubles (0 – 255), idUIColors enumeration (see table at end of chapter) | r/w | The color of the baseline grid as Array of 3 Doubles (0 – 255) or idUIColors enumerator. |
| BaselineDivision | Unit (Double or String) (1 – 8640 points) | r/w | The spacing between baseline grid lines. |
| BaselineGridRelativeOption | idBaselineGridRelativeOption enumeration | r/w | The options are Top of Page and Top of Margin. |
| BaselineGridShown | Boolean | r/w | If true, display the baseline grid. |
| BaselineStart | Unit (Double or String) (0 – 1000 points) | r/w | The distance by which to offset the grid from the top of the page or frame. |
| BaselineViewThreshold | Double (5 – 4000) | r/w | A value to specify the magnification below which the baseline grid does not appear. |
| DocumentGridShown | Boolean | r/w | If true, display the document grid. |
| DocumentGridSnapto | Boolean | r/w | If true, object edges snap to the nearest document grid line when drawing, moving or resizing the object. |
| GridColor | Array of 3 Doubles (0 – 255), idUIColors enumeration (see table at end of chapter) | r/w | The color of the document grid. |
| GridsInBack | Boolean | r/w | If true, display grids behind all other objects. |
| HorizontalGridlineDivision | Unit (Double or String) (0.01 – 1000 points) | r/w | The spacing between major horizontal grid lines in the document grid. |
| HorizontalGridSubdivision | Long (1 – 1000) | r/w | The number of evenly spaced minor horizontal document grid lines appearing between major horizontal document grid lines. |
| Parent | Object | read | The parent of the object. |
| VerticalGridlineDivision | Unit (Double or String) (0.01 – 1000 points) | r/w | The spacing beween major vertical grid lines in the document grid. |
| VerticalGridSubdivision | Long (1 – 1000) | r/w | The number of evenly spaced minor vertical document grid lines appearing between major vertical document grid lines. |