Table of contents
Collapse the table of content
Expand the table of content

ShapeRange.ConnectorFormat Property (Project)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Gets a ConnectorFormat object that contains connector formatting properties. Applies to a ShapeRange object that represents one or more connectors. Read-only ConnectorFormat.


expression. ConnectorFormat

expression A variable that represents a ShapeRange object.


Note In Project, the connect and disconnect methods do not 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), _
    .ConnectorFormat.EndConnect ConnectedShape:=oReport.Shapes(6),_
End With

Property value


See also

Other resources

ShapeRange ObjectAddConnector MethodConnectorFormat Object

© 2018 Microsoft