Export (0) Print
Expand All
Expand Minimize

_Document.SnapToShapes Property

Determines if Microsoft Word automatically aligns AutoShapes or East Asian characters with invisible gridlines that go through the vertical and horizontal edges of other AutoShapes or East Asian characters in the specified document.

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

'Declaration
Property SnapToShapes As Boolean
	Get
	Set
'Usage
Dim instance As _Document
Dim value As Boolean

value = instance.SnapToShapes

instance.SnapToShapes = value

Property Value

Type: System.Boolean

This property returns True if Microsoft Word automatically aligns AutoShapes or East Asian characters, and False if not. Set the property value to True or False to enable or disable the functionality.

This property creates additional invisible gridlines for each AutoShape. SnapToShapes works independently of the SnapToGrid property.

Community Additions

ADD
Show:
© 2014 Microsoft