Export (0) Print
Expand All
Expand Minimize

_Document.SnapToGrid property

Determines if AutoShapes or East Asian characters are automatically aligned with an invisible grid when they are drawn, moved, or resized in the specified document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

bool SnapToGrid { get; set; }

Property value

Type: System.Boolean

This property returns True if AutoShapes or East Asian characters are automatically aligned with an invisible grid when they are drawn, moved, or resized in the specified document, and False if not. Set the property value to True or False to enable or disable the functionality.

You can temporarily override this setting by pressing ALT while drawing, moving, or resizing an AutoShape.

Show:
© 2014 Microsoft