Class ConnectorFormat (PowerPoint VBA)

Contains properties and methods that apply to connectors.

Class Shape gives access to class ConnectorFormat.


Dim cft as ConnectorFormat
Set cft = ActiveWindow.RangeFromPoint.ConnectorFormat

Methods

BeginConnect - Attaches the beginning of the specified connector to a specified shape.

BeginDisconnect - Detaches the beginning of the specified connector from the shape it is attached to.

EndConnect - Attaches the end of the specified connector to a specified shape.

EndDisconnect - Detaches the end of the specified connector from the shape it is attached to. This method doesn't alter the size or position of the connector: the end of the connector remains positioned at a connection site but is no longer connected. Use the BeginDisconnect method to detach the beginning of the connector from a shape.

Properties

BeginConnected determines whether the beginning of the specified connector is connected to a shape.

BeginConnectedShape returns a Shape object that represents the shape that the beginning of the specified connector is attached to.

BeginConnectionSite returns an integer that specifies the connection site that the beginning of a connector is connected to.

EndConnected determines whether the end of the specified connector is connected to a shape.

EndConnectedShape returns a Shape object that represents the shape that the end of the specified connector is attached to.

EndConnectionSite returns an integer that specifies the connection site that the end of a connector is connected to.

Type represents the type of connector.

Shape - Represents an object in the drawing layer, such as an AutoShape, freeform, OLE object, or picture.