Udostępnij za pośrednictwem


Document.SnapToShapes Property (2007 System)

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.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property SnapToShapes As Boolean
'Usage
Dim instance As Document 
Dim value As Boolean 

value = instance.SnapToShapes

instance.SnapToShapes = value
[BrowsableAttribute(false)]
public bool SnapToShapes { get; set; }
[BrowsableAttribute(false)]
public:
property bool SnapToShapes {
    bool get ();
    void set (bool value);
}
public function get SnapToShapes () : boolean 
public function set SnapToShapes (value : boolean)

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

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace