RemoveConnectDot Method

Removes a connection point from the connection point collection of the shape, and returns the number of remaining connection points.

Applies to: Shape object

Syntax

[[Let] countRet =] object.RemoveConnectDot ( index )

The RemoveConnectDot method syntax has these parts:

Part Description
object

Required. An expression that returns a Shape object.

index Required. An expression that returns a Long value. The index of the connection point to be deleted from the connection point collection of the shape.
connectDotRet Optional. A ConnectDot type variable.

Remarks

If index is less than 1 or greater than the number of connection points of the object shape, the RemoveConnectDot method doesn't delete anything and returns the current number of connection points of the shape. To find out the number of connection points of the shape, use the ConnectDotsNum method.

 

See Also

AddConnectDot method, ConnectDot method, ConnectDotsNum method, ConnectDot object