SnapExtensions property
Determines the shape extensions that are active in a document.
Version added
2002
Syntax
| |
| |
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. |
Remarks
You can also set this value by checking options in the Shape extension options box on the Advanced tab in 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.
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 |