ToPart property
Returns the part of a shape to which a connection is made.
Version added
2.0
Syntax
| |
intRet |
Integer. The part of the shape to which a connection is made. |
object |
Required. An expression that returns a Connect object. |
Remarks
The ToPart property identifies the part of a shape to which another shape is glued, such as its begin point or end point, one of its edges, or a connection point. The following constants declared by the Visio type library in member VisToParts show possible return values for the ToPart property.
Constant |
Value |
visConnectToError |
-1 |
visToNone |
0 |
visGuideX |
1 |
visGuideY |
2 |
visWholeShape |
3 |
visGuideIntersect |
4 |
visToAngle |
7 |
visConnectionPoint |
100 + row index of connection point |