ViewPreference

View preferences.

Objects:

Boolean, MeasurementUnits, Number, Object, RulerOrigin

Property Listing

Property

Type

Access

Description

cursorKeyIncrement

Number

read/write

The distance each press of an arrow key will move the selection

guideSnaptoZone

Number

read/write

The range within which an object snaps to guides

horizontalMeasurementUnits

MeasurementUnits

MeasurementUnits.CENTIMETERS

MeasurementUnits.CICEROS

MeasurementUnits.INCHES

MeasurementUnits.INCHES_DECIMAL

MeasurementUnits.MILLIMETERS

MeasurementUnits.PICAS

MeasurementUnits.POINTS

read/write

The measurement unit for the horizontal ruler and other horizontally-measured spaces such as grid columns, horizontal offsets, column gutters, or others.

parent

Application

Document

readonly

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

properties

Object

read/write

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

rulerOrigin

RulerOrigin

RulerOrigin.PAGE_ORIGIN

RulerOrigin.SPINE_ORIGIN

RulerOrigin.SPREAD_ORIGIN

read/write

The default zero point at the intersection of the vertical and horizontal rulers and the scope of the horizontal ruler.

showFrameEdges

Boolean

read/write

If true, displays borders of unselected frames and the diagonal lines in empty unselected frames.

showNotes

Boolean

read/write

If true, notes are displayed.

showRulers

Boolean

read/write

If true, displays the horizontal and vertical rulers.

verticalMeasurementUnits

MeasurementUnits

MeasurementUnits.CENTIMETERS

MeasurementUnits.CICEROS

MeasurementUnits.INCHES

MeasurementUnits.INCHES_DECIMAL

MeasurementUnits.MILLIMETERS

MeasurementUnits.PICAS

MeasurementUnits.POINTS

read/write

The measurement unit for the vertical ruler and other vertically-measured spaces such as grid rows, vertical offsets, row heights, or others.

Object of

Application.viewPreferences

Document.viewPreferences