Table of contents
Collapse the table of content
Expand the table of content

Document.GlueSettings Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Determines the objects that shapes glue to when glue is enabled in the document. Read/write.


expression . GlueSettings

expression A variable that represents a Document object.

Return Value



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 View tab, click the Visual Aids arrow).

The GlueSettings property can be any combination of the following VisGlueSettings constants, which are declared in the Microsoft Visio type library.

**Constant ****Value ****Description **
visGlueToNone&;H0Glue is enabled but no other glue settings are on.
visGlueToGuides&;H1Glue to guides.
visGlueToHandles&;H2Glue to shape handles.
visGlueToVertices&;H4Glue to shape vertices.
visGlueToConnectionPoints&;H8Glue to connection points.
visGlueToGeometry&;H20Glue to shape geometry.
visGlueToDisabled&;H8000Disable glue.
© 2018 Microsoft