Adobe InDesign CS (3.0) Object Model JS: ViewPreference

InDesign CS

Class

ViewPreference

 View preferences.

Hierarchy

Application | Document
ViewPreference

Properties

PropertyTypeAccessDescription
cursorKeyIncrementnumber r/wThe distance each press of an arrow key will move the selection
guideSnaptoZonenumber r/wThe range within which an object snaps to guides
horizontalMeasurementUnitsMeasurementUnits:
MeasurementUnits.POINTS
MeasurementUnits.PICAS
MeasurementUnits.INCHES
MeasurementUnits.INCHES_DECIMAL
MeasurementUnits.MILLIMETERS
MeasurementUnits.CENTIMETERS
MeasurementUnits.CICEROS
r/wThe measurement unit for the horizontal ruler and other horizontally-measured spaces such as grid columns, horizontal offsets, column gutters, or others.
parentApplication
Document
readonlyThe parent of the ViewPreference (a Application or Document).
propertiesObject r/wA property that allows setting of several properties at the same time.
rulerOriginRulerOrigin:
RulerOrigin.SPREAD_ORIGIN
RulerOrigin.PAGE_ORIGIN
RulerOrigin.SPINE_ORIGIN
r/wThe default zero point at the intersection of the vertical and horizontal rulers and the scope of the horizontal ruler.
showFrameEdgesbool r/wIf true, displays borders of unselected frames and the diagonal lines in empty unselected frames.
showNotesbool r/wIf true, notes are displayed.
showRulersbool r/wIf true, displays the horizontal and vertical rulers.
verticalMeasurementUnitsMeasurementUnits:
MeasurementUnits.POINTS
MeasurementUnits.PICAS
MeasurementUnits.INCHES
MeasurementUnits.INCHES_DECIMAL
MeasurementUnits.MILLIMETERS
MeasurementUnits.CENTIMETERS
MeasurementUnits.CICEROS
r/wThe measurement unit for the vertical ruler and other vertically-measured spaces such as grid rows, vertical offsets, row heights, or others.

Element of

Application.viewPreferences

Document.viewPreferences

Jongware, 27-Jun-2010 v3.0.3dContents :: Index