FromConnects property

Microsoft Visio Developer Reference

FromConnects property

   Example   

Returns a Connects collection of the shapes connected to a shape.

Version added

4.5

Syntax

objRet = object.FromConnects

objRet

The Connects collection of shapes connected to this shape.

object

Required. An expression that returns a Shape object.

Remarks

The FromConnects property of a shape returns a Connects collection that contains every Connect object for which the shape is the ToSheet property. This tells you all the shapes connected to a shape.

To obtain a Connects collection that contains every Connect object for which the shape is the FromSheet property, use the shape's Connects property. This tells you all the shapes to which the shape is connected.