Not
Bu sayfaya erişim yetkilendirme gerektiriyor. Oturum açmayı veya dizinleri değiştirmeyi deneyebilirsiniz.
Bu sayfaya erişim yetkilendirme gerektiriyor. Dizinleri değiştirmeyi deneyebilirsiniz.
Returns an MsoTriState constant indicating whether the beginning of the specified connector is connected to a shape. Read-only.
Syntax
expression.BeginConnected
expression A variable that represents a ConnectorFormat object.
Return value
MsoTriState
Remarks
The BeginConnected property value can be one of the MsoTriState constants declared in the Microsoft Office type library.
Use the EndConnected property to determine if the end of a connector is connected to a shape.
Example
If the third shape on the first page in the active publication is a connector whose beginning is connected to a shape, this example stores the connection site number, stores a reference to the connected shape, and then disconnects the beginning of the connector from the shape.
Dim intSite As Integer
Dim shpConnected As Shape
With ActiveDocument.Pages(1).Shapes(3)
' Test whether shape is a connector.
If .Connector Then
With .ConnectorFormat
' Test whether connector is connected to another shape.
If .BeginConnected Then
' Store connection site number.
intSite = .BeginConnectionSite
' Set reference to connected shape.
Set shpConnected = .BeginConnectedShape
' Disconnect connector and shape.
.BeginDisconnect
End If
End With
End If
End With
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.