ShapeRange.Connector Property (PowerPoint)
Determines whether the specified shape is a connector. Read-only.
Syntax
expression .Connector
expression A variable that represents a ShapeRange 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.
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