Share via


Document.SnapEnabled Property

Visio Automation Reference

Determines whether snap is active in the document. Read/write.

Version Information
 Version Added:  Visio 2002

Syntax

expression.SnapEnabled

expression   A variable that represents a Document object.

Return Value
Boolean

Remarks

Setting the value of the SnapEnabled property to True is equivalent to selecting the Snap check box on the General tab in the Snap & Glue dialog box (on the Tools menu, click Snap & Glue).

See Also