SnapExtensions Property [Visio 2003 SDK Documentation]

Determines the shape extensions that are active in a document.

retVal = object**.SnapExtensions**

object**.SnapExtensions** = newVal

retVal     VisSnapExtensions. The shape extension options currently active in a document.

object     Required. An expression that returns a Document object.

newVal     Required VisSnapExtensions. **The shape extension options to activate in a document.

Version added

2002

Remarks

You can also set this value by checking options in the Shape extension options box on the Advanced tab of the Snap & Glue dialog box (on the Tools menu click Snap & Glue).

The SnapExtensions property can be any combination of the following VisSnapExtensions constants, which are declared in the Visio type library. The default is to show center axes and linear extensions, &H22 (34).

Constant Value

visSnapExtNone

&H0

visSnapExtAlignmentBoxExtension

&H1

visSnapExtCenterAxes

&H2

visSnapExtCurveTangent

&H4

visSnapExtEndpoint

&H8

visSnapExtMidpoint

&H10

visSnapExtLinearExtension

&H20

visSnapExtCurveExtension

&H40

visSnapExtEndpointPerpendicular

&H80

visSnapExtMidpointPerpendicular

&H100

visSnapExtEndpointHorizontal

&H200

visSnapExtEndpointVertical

&H400

visSnapExtEllipseCenter

&H800

visSnapExtIsometricAngles

&H1000

Applies to | Document object