View preferences.
view preference Properties
| Property | Type | Access | Description |
|---|---|---|---|
| class | type | read | The class descriptor type. |
| cursor key increment | number | r/w | The distance to move a specified object when an arrow key is pressed. (Range depends on the measurement unit. For points: 0.001 to 100; picas: 0p0.001 to 8p4; mm: 0 to 35.278; cm: 0 to 3.5278; inches: 0 to 1.3889; ciceros: 0c0.001 to 7c9.839). Can retu… |
| guide snapto zone | integer | r/w | The range (in pixels) within which an object snaps to guides. (Range: 1 to 36) Note: Snapping occurs only when guides are shown. . Can return: integer (1 – 36). |
| horizontal custom points | real | r/w | The distance (in points) between major tick marks on the horizontal ruler. (Range: 4 to 256) Valid only when horizontal measurement units is custom. . Can return: fixed (4 – 256). |
| horizontal measurement units | points, picas, inches, inches decimal, millimeters, centimeters, ciceros, custom, agates, points, picas, inches, inches decimal, millimeters, centimeters, ciceros, custom, agates, |
r/w | The measurement unit for the horizontal ruler and other horizontally-measured spaces such as grid columns, horizontal offsets, column gutters, or others. |
| object reference | view preference | read | An object reference for the object. |
| parent | specifier | read | The parent of the view preference (a application or document). Can return: application or document. |
| points per inch | real | r/w | The number of points per inch, typically 72. (Range: 60 to 80). Can return: fixed (60 – 80). |
| properties | record | r/w | A property that allows setting of several properties at the same time. |
| ruler origin | spread origin, page origin, spine origin, |
r/w | The default zero point at the intersection of the vertical and horizontal rulers and the scope of the horizontal ruler. |
| show frame edges | boolean | r/w | If true, displays borders of unselected frames and the diagonal lines in empty unselected frames. |
| show notes | boolean | r/w | If true, notes are displayed. |
| show rulers | boolean | r/w | If true, displays the horizontal and vertical rulers. |
| vertical custom points | real | r/w | The distance (in points) between major tick marks on the vertical ruler. (Range: 4 to 256) Valid only when vertical measurement units is custom. Can return: fixed (4 – 256). |
| vertical measurement units | points, picas, inches, inches decimal, millimeters, centimeters, ciceros, custom, agates, points, picas, inches, inches decimal, millimeters, centimeters, ciceros, custom, agates, |
r/w | The measurement unit for the vertical ruler and other vertically-measured spaces such as grid rows, vertical offsets, row heights, or others. |