Shape.Connects property (Visio)
Returns a Connects collection for a shape, page, or master. Read-only.
Syntax
expression. Connects
expression A variable that represents a Shape object.
Return value
Connects
Remarks
The Connects collection of a shape contains every Connect object for which the shape is returned by the FromSheet property. This tells you all the shapes to which the shape is connected.
To obtain a Connects collection that contains every Connect object for which the shape is the ToSheet property, use the shape's FromConnects property. This tells you all the shapes that are connected to this shape.
The Connects collection of a page contains a Connect object for every connection on the page.
The Connects collection of a master contains a Connect object for every connection in the master.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.