Shape.ConnectionSiteCount Property
Returns the number of connection sites on the specified shape. Read-only Long.
Syntax
expression.ConnectionSiteCount
expression An expression that returns a Shape object.
Example
This example adds two rectangles to myDocument and joins them with two connectors. The beginnings of both connectors attach to connection site one on the first rectangle; the ends of the connectors attach to the first and last connection sites of the second rectangle.
| Visual Basic for Applications |
|---|
|