set the gridSize to <number> Applies to global
The gridSize property determines the granularity of the snapToGrid property. The gridSize, which may be any positive floating-point number, sets the line spacing in terms of the current screen units (determined by the rulerStyle property). For example, if the rulerStyle is set to "inches", a gridSize of .5 means that the grid lines are spaced a half-inch apart. The default value of the gridSize is 5.
Type the following statements into the Message Box to activate a grid with lines one centimeter apart:
set the rulerStyle to centimeters set the snapToGrid to true
set the gridSize to 1
Type the following statements into the Message Box to activate a grid with lines ten pixels apart:
set the rulerStyle to pixels
set the snapToGrid to true
This text has been mechanically extracted from the Oracle Media Objects 184.108.40.206 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.