Connects collection

Microsoft Visio Developer Reference

Connects collection

       Methods   Events

Multiple Objects Connects (Connect)

Includes a Connect object for each connection between two shapes in a drawing, such as a line and a box in an organization chart.

Version added

2.0

Remarks

The default property of a Connects collection is Item.

Use the Connects property of a Shape object to retrieve a Connects collection with a Connect object for every Shape object to which the indicated Shape object is connected (glued).

Use the FromConnects property of a Shape object to retrieve a Connects collection with a Connect object for every Shape object that is connected (glued) to the indicated Shape object.

Use the Connects property of a Page object to retrieve a Connects collection with an entry for every connection on the Page object.

Use the Connects property of a Master object to retrieve a Connects collection with an entry for every connection in the Master object.