Share via


Shape.Connector Property

Publisher Developer Reference

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

Syntax

expression.Connector

expression   A variable that represents a Shape object.

Remarks

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

Constant Description
msoFalse The shape is not a connector.
msoTriStateMixed Return value indicating a combination of msoTrue and msoFalse for the specified shape.
msoTrue The shape is a connector.

Example

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

Visual Basic for Applications
  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 Next End With

See Also