DisplayRuler Document Command

Changes the ruler display status.

displayruler <status> [OFFSET offsetx offsety] [ZERO zerox zeroy] [MSYS horzunits vertunits] [DIRECTION horz vert] [WINDOW name]

status/k The rulers' display status. Options:

SHOW|HIDE|TOGGLE.

OFFSET/d The ruler offset in pixels from the top left corner of the window.

ZERO/d The ruler zero point.

MSYS/k The measurement system units for the

rulers.

Options: INCHES | CENTIMETERS | MILLIMETERS | PICAS | POINTS | PRINTERPICAS | PRINTERPOINTS | CICEROS | DIDOTPOINTS | FEET | METERS | SAMEAS. Sameas sets the rulers to the horizontal and vertical measurement system, as applicable.

DIRECTION/k The direction in which the rulers are measured.

Options: LEFT|RIGHT, UP|DOWN.WINDOW/s The window name. Default=current.

Examples:
ARexx:

displayruler show offset 30 120 msys inches inches
displayruler direction left up
displayruler zero 1.5 4.25

 

DisplayRuler  Command Definition  url:PGScmd/displayruler
  created:2006-03-30 13:47:46   last updated:2006-08-18 11:34:45
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For DisplayRuler
Dan Kilroy wrote...2006-05-04 17:17:25

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

DisplayRuler ([SHOW | HIDE | TOGGLE] [OFFSET x y] [ZERO x y] [MSYS hmsys vmsys] [DIRECTION <LEFT | RIGHT> <UP | DOWN>] [WINDOW document-window])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For DisplayRuler