Share via


Connects Property [Visio 2003 SDK Documentation]

Returns a Connects collection for a shape, page, or master.

objRet = object**.Connects**

objRet     The Connects collection of the Shape, Page, or Master object.

object     Required. An expression that returns a Shape, Page, or Master object that owns the collection.

Version added

2.0

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.

Applies to | Master object | Page object | Shape object

See Also | Connect object | Connects collection | FromConnects property | FromSheet property | ToSheet property