Options.SnapToGrid Property

True if AutoShapes or East Asian characters are automatically aligned with an invisible grid when they are drawn, moved, or resized in new documents.

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

Syntax

'Declaration
Property SnapToGrid As Boolean
    Get
    Set
'Usage
Dim instance As Options
Dim value As Boolean

value = instance.SnapToGrid

instance.SnapToGrid = value
bool SnapToGrid { get; set; }

Property Value

Type: System.Boolean

Remarks

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

See Also

Reference

Options Interface

Options Members

Microsoft.Office.Interop.Word Namespace