Share via


Shape.Connector Property

PowerPoint Developer Reference

Determines whether the specified shape is a connector. Read-only.

Syntax

expression.Connector

expression   A variable that represents a Shape object.

Return Value
MsoTriState

Remarks

The value of the Connector property can be one of these MsoTriState constants.

Constant Description
msoFalse The specified shape is not a connector.
msoTrue The specified shape is a connector.

Example

This example deletes all connectors on myDocument.

Visual Basic for Applications
  Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes
    For i = .Count To 1 Step -1
        With .Item(i)
            If .Connector Then .Delete
        End With
    Next
End With

See Also