Share via


ConnectorFormat.BeginConnected Property

Determines whether the beginning of the specified connector is connected to a shape. Read/write.

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

Syntax

'Declaration
ReadOnly Property BeginConnected As MsoTriState
    Get
'Usage
Dim instance As ConnectorFormat
Dim value As MsoTriState

value = instance.BeginConnected
MsoTriState BeginConnected { get; }

Property Value

Type: Microsoft.Office.Core.MsoTriState
MsoTriState

Remarks

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

Constant

Description

msoFalse

The beginning of the specified connector is not connected to a shape.

msoTrue

The beginning of the specified connector is connected to a shape.

Examples

If shape three on the first slide in the active presentation is a connector whose beginning is connected to a shape, this example stores the connection site number in the variable oldBeginConnSite, stores a reference to the connected shape in the object variable oldBeginConnShape, and then disconnects the beginning of the connector from the shape.

Set myDocument = ActivePresentation.Slides(1)

With myDocument.Shapes(3)

    If .Connector Then

        With .ConnectorFormat

            If .BeginConnectedThen

                oldBeginConnSite = .BeginConnectionSite

                Set oldBeginConnShape = .BeginConnectedShape

                .BeginDisconnect

            End If

        End With

    End If

End With

See Also

Reference

ConnectorFormat Interface

ConnectorFormat Members

Microsoft.Office.Interop.PowerPoint Namespace