Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Document.SnapToShapes Property

Gets or sets a value that indicates whether Microsoft Office 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 document.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

bool SnapToShapes { get; set; }

Property Value

Type: System.Boolean
true if Microsoft Office Word automatically aligns AutoShapes or East Asian characters; otherwise, false.

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

Show:
© 2015 Microsoft