Share via


ShapeRange.Connector Property

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

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
ReadOnly Property Connector As MsoTriState
    Get
'Usage
Dim instance As ShapeRange
Dim value As MsoTriState

value = instance.Connector
MsoTriState Connector { get; }

Property Value

Type: Microsoft.Office.Core.MsoTriState
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.

Examples

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 .ConnectorThen .Delete

        End With

    Next

End With

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.PowerPoint Namespace