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 | |
---|---|---|
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. | |
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. | |
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. | |
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 | |
---|---|---|
Application | Returns an Application object that represents the creator of the specified object. | |
BeginConnected | Determines whether the beginning of the specified connector is connected to a shape. Read/write MsoTriState. | |
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. | |
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. | |
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. | |
EndConnected | Determines whether the end of the specified connector is connected to a shape. Read-only MsoTriState. | |
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. | |
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. | |
Parent | Returns the parent object for the specified object. | |
Type | Returns or sets an MsoConnectorType constant that represents the type of connector. Read/write. |