Getting Information About Connections Between SmartShapes Symbols

Previously you learned how to connect (glue) SmartShape symbols via VBA's Automation interface. Whenever a connection has been established, the SmartShape symbol that is doing the gluing exposes a valid Connect object. Every SmartShape symbol has a Connects collection. If the SmartShape symbol is not glued to any other SmartShape symbol, the collection is empty.

If a symbol is glued to another symbol, as in the case of a symbol with a control handle gluing to the connection point on another symbol, the Connects collection contains one item (index 1). If a symbol is glued to two other symbols, as in the case of a Dynamic Connector SmartShape symbol gluing to two Process SmartShape ...

Get Professional Development with Visio® 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.