GlueSettings Property [Visio 2003 SDK Documentation]
Determines the objects that shapes glue to when glue is enabled in the document.
retVal = object.GlueSettings
object**.GlueSettings** = newVal
retval VisGlueSettings. The objects in a document that shapes glue to.
object Required. An expression that returns a Document object.
newVal Required VisGlueSettings. The objects in a document that shapes glue to.
Version added
2002
Remarks
Setting the value of the GlueSettings property is equivalent to selecting options under Glue to on the General tab in the Snap & Glue dialog box (on the Tools menu, click Snap & Glue).
The GlueSettings property can be any combination of the following VisGlueSettings constants, which are declared in the Microsoft Office Visio 2003 type library.
Constant | Value | Description |
---|---|---|
visGlueToNone |
&H0 |
Glue is enabled but no other glue settings are on. |
visGlueToGuides |
&H1 |
Glue to guides. |
visGlueToHandles |
&H2 |
Glue to shape handles. |
visGlueToVertices |
&H4 |
Glue to shape vertices. |
visGlueToConnectionPoints |
&H8 |
Glue to connection points. |
visGlueToGeometry |
&H20 |
Glue to shape geometry. |
visGlueToDisabled |
&H8000 |
Disable glue. |
Applies to | Document object