EndConnected 属性

       

决定指定连接符的末尾是否连接到形状。只读。MsoTriState 类型。

expression.Paste

expression  必选。该表达式返回“应用于”列表中的对象之一。

示例

如果由当前演示文稿中第一张幻灯片的第三个形状所代表的连接符末尾连接到形状,则本示例将连接点数目保存在变量 oldEndConnSite 中,将连接图形的引用保存在对象变量 oldEndConnShape 中,然后在该形状中断开连接符的末尾。

Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes(3)
    If .Connector Then
        With .ConnectorFormat
            If .EndConnected Then
                oldEndConnSite = .EndConnectionSite
                Set oldEndConnShape = .EndConnectedShape
                .EndDisconnect
            End If
        End With
    End If
End With