FromPart property
Returns the part of a shape from which a connection originates.
Version added
2.0
Syntax
| |
retVal |
Integer. The part of the shape where the connection originates. |
object |
Required. An expression that returns a Connect object. |
Remarks
The following constants declared by the Visio type library show return values for the FromPart property.
Constant |
Value |
visConnectFromError |
-1 |
visFromNone |
0 |
visLeftEdge |
1 |
visCenterEdge |
2 |
visRightEdge |
3 |
visBottomEdge |
4 |
visMiddleEdge |
5 |
visTopEdge |
6 |
visBeginX |
7 |
visBeginY |
8 |
visBegin |
9 |
visEndX |
10 |
visEndY |
11 |
visEnd |
12 |
visFromPin |
13 |
visFromAngle |
14 |
visControlPoint |
100 + zero-based row index (for example, visControlPoint = 100 if the control point is in row 0; visControlPoint = 101 if the control point is in row 1) |