GlueType Cell (Glue Info Section)

Determines whether a 1-D shape uses static (point-to-point) or dynamic (shape-to-shape) glue when it is glued to another shape.

Value Description Automation constant
&H0
Default. Allow dynamic glue for the dynamic connector only; otherwise, use static glue. visGlueTypeDefault
&H1
Allow dynamic glue. Obsolete in Visio 2002
&H2
Allow dynamic glue. visGlueTypeWalking
&H4
Do not allow dynamic glue. visGlueTypeNoWalking
&H8
Do not allow this 2-D shape to be connected to with dynamic glue. visGlueTypeNoWalkingTo

Remarks

If this cell contains a value of 1, 2 or 3, dynamic glue will be established when either of the following occurs:

  • Shapes are dynamically glued in the user interface.

  • Shapes are glued to the PinX or PinY cell of another shape from a program.

If shapes are glued to shape cells other than PinX or PinY from a program, then static glue is used.

Changing this value from allowing to not allowing dynamic glue does not sever or change existing dynamic glue. Programs can establish dynamic glue even if dynamic glue is disabled in the GlueType cell.

To get a reference to the GlueType cell by name from another formula, or from a program using the CellsU property, use:

Value
Cell name:
GlueType

To get a reference to the GlueType cell by index from a program, use the CellsSRC property with the following arguments:

Value
Section index:
visSectionObject
Row index:
visRowMisc
Cell index:
visGlueType