Share via


ConnectorFormat Object Members

PowerPoint Developer Reference

Contains properties and methods that apply to connectors. A connector is a line that attaches two other shapes at points called connection sites. If you rearrange shapes that are connected, the geometry of the connector will be automatically adjusted so that the shapes remain connected.

Methods

  Name Description
Bb251421.methods(en-us,office.12).gif BeginConnect Attaches the beginning of the specified connector to a specified shape. If there's already a connection between the beginning of the connector and another shape, that connection is broken. If the beginning of the connector isn't already positioned at the specified connecting site, this method moves the beginning of the connector to the connecting site and adjusts the size and position of the connector. Use the EndConnect method to attach the end of the connector to a shape.
Bb251421.methods(en-us,office.12).gif BeginDisconnect Detaches the beginning of the specified connector from the shape it's attached to. This method doesn't alter the size or position of the connector: the beginning of the connector remains positioned at a connection site but is no longer connected. Use the EndDisconnect method to detach the end of the connector from a shape.
Bb251421.methods(en-us,office.12).gif EndConnect Attaches the end of the specified connector to a specified shape. If there's already a connection between the end of the connector and another shape, that connection is broken. If the end of the connector isn't already positioned at the specified connecting site, this method moves the end of the connector to the connecting site and adjusts the size and position of the connector. Use the BeginConnect method to attach the beginning of the connector to a shape.
Bb251421.methods(en-us,office.12).gif EndDisconnect Detaches the end of the specified connector from the shape it's 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

  Name Description
Bb251421.properties(en-us,office.12).gif Application Returns an Application object that represents the creator of the specified object.
Bb251421.properties(en-us,office.12).gif BeginConnected Determines whether the beginning of the specified connector is connected to a shape. Read/write MsoTriState.
Bb251421.properties(en-us,office.12).gif BeginConnectedShape Returns a Shape object that represents the shape that the beginning of the specified connector is attached to. Read-only.If the beginning of the specified connector isn't attached to a shape, this property generates an error.
Bb251421.properties(en-us,office.12).gif BeginConnectionSite Returns an integer that specifies the connection site that the beginning of a connector is connected to. Read-only Long. If the beginning of the specified connector isn't attached to a shape, this property generates an error.
Bb251421.properties(en-us,office.12).gif Creator Returns a Long that represents the four-character creator code for the application in which the specified object was created. For example, if the object was created in PowerPoint, this property returns the hexadecimal number 50575054. Read-only.
Bb251421.properties(en-us,office.12).gif EndConnected Determines whether the end of the specified connector is connected to a shape. Read-only MsoTriState.
Bb251421.properties(en-us,office.12).gif EndConnectedShape Returns a Shape object that represents the shape that the end of the specified connector is attached to. Read-only.If the end of the specified connector isn't attached to a shape, this property generates an error.
Bb251421.properties(en-us,office.12).gif EndConnectionSite Returns an integer that specifies the connection site that the end of a connector is connected to. Read-only Long. If the end of the specified connector isn't attached to a shape, this property generates an error.
Bb251421.properties(en-us,office.12).gif Parent Returns the parent object for the specified object.
Bb251421.properties(en-us,office.12).gif Type Returns or sets an MsoConnectorType constant that represents the type of connector. Read/write.