SnapToShapes Property Example

This example sets Microsoft Word to automatically align East Asian characters with invisible gridlines that go through the vertical and horizontal edges of other East Asian characters in the current document.

ActiveDocument.SnapToShapes = True

This example sets Word to automatically align AutoShapes with invisible gridlines that go through the vertical and horizontal edges of other AutoShapes in a new document.

Options.SnapToShapes = True
Documents.Add

This example returns the status of the Snap to shapes option in the Snap to Grid dialog box (Drawing toolbar, Draw menu, Grid command).

Temp = Options.SnapToShapes