<< GetRotation | GetScratchPath >> |
Top: Documentation Library | Up: G Commands |
GetRulerDisplay Document Query Command
GETRULERDISPLAY Document Queries
Gets the ruler display status.
getrulerdisplay [OFFSET stem] [ZERO stem] [MSYS stem] [DIRECTION stem] [WINDOW name]
OFFSET/a Gets the ruler offset in pixels from the top left corner of the window.
ZERO/a Gets the ruler zero point.
MSYS/a Gets the rulers' measurement systems.
DIRECTION/a Gets the rulers' directions.
WINDOW/s The window name. Default=current.
Results:
Returns the ruler display status (ON | OFF) to RESULT.
OFFSET stem
x/i The horizontal display offset.
y/i The vertical display offset.
ZERO stem
x/d The horizontal zero offset.
y/d The vertical zero offset.
MSYS stem
h/k The horizontal ruler measurement system: INCHES | CENTIMETERS | MILLIMETERS | PICAS | POINTS | PRINTERPICAS | PRINTERPOINTS | CICEROS | DIDOTPOINTS | FEET | METERS | SAMEAS.
v/k The vertical ruler measurement system.
Same as above.
DIRECTION stem
h/k The horizontal measurement direction: LEFT | RIGHT.
v/k The vertical measurement direction: UP | DOWN.
Examples:
getrulerdisplay msys system say 'The rulers are '||result say 'Horizontal measurement system: '||system.h say 'Vertical measurement system: '||system.v
GetRulerDisplay Command Definition url:PGScmd/getrulerdisplay
created:2006-03-30 22:20:08 last updated:2006-03-30 22:20:08
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For GetRulerDisplay | sign in to add a comment |
Dan Kilroy wrote... | 2006-05-04 17:17:34 |
Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above. Gets the {...} . mode<ON|OFF> = GetRulerDisplay ([OFFSET &coord/.X.Y] [ZERO &coord/.X.Y] [MSYS &msys/.H<msys>.V<msys>] [DIRECTION &direction/.H<LEFT|RIGHT>.V<UP|DOWN>] [WINDOW document-window])
ARexx: Applescript: | |
User Contributed Comments For GetRulerDisplay | sign in to add a comment |
<< GetRotation | GetScratchPath >> |
Top: Documentation Library | Up: G Commands |