Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.65 KB

Project.shape.connectorformat.md

File metadata and controls

54 lines (33 loc) · 1.65 KB
title ms.service ms.assetid ms.date ms.localizationpriority
Shape.ConnectorFormat property (Project)
project-server
8bcbe86a-164e-038f-c41a-2d951e549aef
06/08/2017
medium

Shape.ConnectorFormat property (Project)

Gets a ConnectorFormat object that contains connector formatting properties. Applies to a Shape that represents a connector. Read-only ConnectorFormat.

Syntax

expression.ConnectorFormat

expression A variable that represents a Shape object.

Remarks

Note

In Project, the connect and disconnect methods don't work for a ConnectorFormat object. So, the RerouteConnections method and the BeginConnected, BeginConnectedShape, BeginConnectedSite, EndConnected, EndConnectedShape, and EndConnectedSite properties have no meaning.

For example, in the following code snippet, the BeginConnect method gives a run-time error 13, 'Type mismatch'.

Set connectorShape = oReport.Shapes.AddConnector(msoConnectorCurve, 100, 250, 150, 280)

With connectorShape
    ' Type mismatch error:
    .ConnectorFormat.BeginConnect ConnectedShape:=oReport.Shapes(5), _
        ConnectionSite:=1
    .ConnectorFormat.EndConnect ConnectedShape:=oReport.Shapes(6),_
        ConnectionSite:=1
End With

Property value

CONNECTORFORMAT

See also

Shape Object AddConnector Method ConnectorFormat

[!includeSupport and feedback]