SnapToGrid Drawing Command

SNAPTOGRID Document Commands

Changes the snap-to-grid status.

snaptogrid [WINDOW name]

status/k The snap-to-grid status.

Options: on | off | toggle.

WINDOW/s The window name. Default=current.

Notes:

Grid spacing and strength are part of the master page description. The snap-to-grid toggle is part of the window settings.

Snap-to-grid does not affect drawing with script commands; it affects drawing and editing from the interface only.

Examples:

snaptogrid on

snaptogrid off window 'Untitled 1~View.1'

 

SnapToGrid  Command Definition  url:PGScmd/snaptogrid
  created:2006-03-31 10:53:01   last updated:2006-03-31 10:53:01
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SnapToGrid
Dan Kilroy wrote...2006-05-04 17:17:50

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

Gets the {...} .

SnapToGrid ([ON | OFF | TOGGLE] [WINDOW document-window])

Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For SnapToGrid