Udostępnij za pośrednictwem


DocumentBase.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
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Public Property SnapToShapes As Boolean
    Get
    Set
public bool SnapToShapes { get; set; }

Property Value

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

Remarks

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

.NET Framework Security

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace