SnapExtensions property
SnapExtensions property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
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 |