FromSheet property

Microsoft Visio Developer Reference

FromSheet property

       

Returns the shape from which a connection or connections originate.

Version added

2.0

Syntax

objRet = object.FromSheet

objRet

The Shape object from which the connections originate.

object

Required. An expression that returns the Connect object or Connects collection to examine.

Remarks

The FromSheet property for a Connect object is straightforward. It always returns the shape from which the Connect object originates.

A Connects collection represents several connections. If every connection represented by the collection originates from the same shape, the FromSheet property for the collection returns that shape. Otherwise, the FromSheet property returns Nothing and does not raise an exception.