• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 17. Getting Data from Visio Draw... > Getting Information About Connection...

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 symbols, the Connects collection contains two items (index 1 and 2).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint