SnapToGrid Property
Applies To
Options object.
Description
True if AutoShapes are automatically aligned with an invisible grid when they are drawn, moved, or resized. Read/write Boolean.
Remarks
You can temporarily override this setting by pressing ALT while drawing, moving, or resizing an AutoShape.
See Also
GridDistanceHorizontal property, GridDistanceVertical property, GridOriginHorizontal property, GridOriginVertical property, SnapToShapes property.
Example
This example sets Word so that AutoShapes are automatically aligned with the invisible grid.
Options.SnapToGrid = True
This example returns the status of the Snap to grid option in the Snap to Grid dialog box (Drawing toolbar, Draw menu, Grid command).
Temp = Options.SnapToGrid