_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)
Syntax
'Declaration
Property SnapToShapes As Boolean
Get
Set
'Usage
Dim instance As _Document
Dim value As Boolean
value = instance.SnapToShapes
instance.SnapToShapes = value
bool SnapToShapes { get; set; }
Property Value
Type: System.Boolean
Remarks
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.