[]
Represents properties and methods that apply to connectors.
public interface IConnectorFormat
Gets whether the connector is connected to a shape (True if the beginning of the specified connector is connected to a shape).
bool BeginConnected { get; }
Returns the IShape object that represents the shape that the beginning of the specified connector is attached to.
IShape BeginConnectedShape { get; }
Returns an integer that specifies the connection site that the beginning of a connector is connected to.
int BeginConnectionSite { get; }
Gets whether the end of the connector is connected to a shape (True if the end of the specified connector is connected to a shape).
bool EndConnected { get; }
Returns the IShape object that represents the shape that the end of the specified connector is attached to.
IShape EndConnectedShape { get; }
Returns an integer that specifies the connection site that the end of a connector is connected to.
int EndConnectionSite { get; }
Gets or sets the connector format type.
ConnectorType Type { get; set; }
Attaches the beginning of the specified connector to a specified shape.
void BeginConnect(IShape connectedShape, int connectionSite)
connectedShape
IShapeRequired IShape object. The shape to attach the beginning of the connector to. The specified Shape object must be in the same IShapes collection as the connector.
connectionSite
intRequired Integer. A connection site on the shape specified by ConnectedShape.
Detaches the beginning of the specified connector from the shape it’s attached to.
void BeginDisconnect()
Attaches the end of the specified connector to a specified shape.
void EndConnect(IShape connectedShape, int connectionSite)
connectedShape
IShapeRequired IShape object. The shape to attach the end of the connector to. The specified Shape object must be in the same IShapes collection as the connector.
connectionSite
intRequired Integer. A connection site on the shape specified by ConnectedShape.
Detaches the end of the specified connector from the shape it’s attached to.
void EndDisconnect()