Share via


SnapEnabled Property [Visio 2003 SDK Documentation]

Determines whether snap is active in the document.

retVal = object**.SnapEnabled**

object**.SnapEnabled** = newVal

retVal     Boolean. True if snap is active; otherwise, False.

object     Required. An expression that returns a Document object.

newVal     Required Boolean. True to enable snap behavior; False to disable snap behavior.

Version added

2002

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).

Applies to | Document object