Shape.FromConnects Property

Visio Automation Reference

Returns a Connects collection of the shapes connected to a shape. Read-only.

Version Information
 Version Added:  Visio 4.5

Syntax

expression.FromConnects

expression   A variable that represents a Shape object.

Return Value
Connects

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.

See Also