VisToParts Enumeration (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Values returned by the Connect.ToPart property.

The VisToParts return codes indicate the part of a shape to which a connection is made.

Constant

Value

Description

visConnectionPoint

100 + row index of connection point

Connect to specified connection point on target shape.

visConnectToError

-1

Error connecting to shape.

visGuideIntersect

4

Connect to intersection of guides on target shape.

visGuideX

1

Connect to vertical guide on target shape.

visGuideY

2

Connect to horizontal guide on target shape.

visToAngle

7

Connect to angle on target shape.

visToNone

0

Do not connect.

visWholeShape

3

Connect to entire target shape, using dynamic glue.

Show: