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

ShapeRange.Connector Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

Returns an MsoTriStatevalue indicating whether the specified shape is a connector. Read-only.


expression. Connector

_expression_A variable that represents a ShapeRange object.


The Connector property value can be one of the MsoTriState constants declared in the Microsoft Office type library and shown in the following table.

msoFalseThe shape is not a connector.
msoTriStateMixedReturn value indicating a combination of msoTrue and msoFalse for the specified shape range.
msoTrueThe shape is a connector.


This example deletes all connectors on page one of the active publication.

Dim i As Integer 

With ActiveDocument.Pages(1).Shapes 
 For i = .Count To 1 Step -1 
 With .Item(i) 
 If .Connector Then .Delete 
 End With 
End With
© 2018 Microsoft