Interface IConnectorFormat
public interface IConnectorFormat
Represents properties and methods that apply to connectors.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbeginConnect(IShape connectedShape, int connectionSite) Attaches the beginning of the specified connector to a specified shape.voidDetaches the beginning of the specified connector from the shape it’s attached to.voidendConnect(IShape connectedShape, int connectionSite) Attaches the end of the specified connector to a specified shape.voidDetaches the end of the specified connector from the shape it’s attached to.booleanGets whether the connector is connected to a shape (True if the beginning of the specified connector is connected to a shape).Returns theIShapeobject that represents the shape that thebeginning of the specified connector is attached to.intReturns an integer that specifies the connection site that the beginning of a connector is connected to.booleanGets whether the end of the connector is connected to a shape (True if the end of the specified connector is connected to a shape).Returns theIShapeobject that represents the shape that the end ofthe specified connector is attached to.intReturns an integer that specifies the connection site that the end of a connector is connected to.getType()Gets the connector format type.voidsetType(ConnectorType value) Sets the connector format type.
-
Method Details
-
getBeginConnected
boolean getBeginConnected()Gets whether the connector is connected to a shape (True if the beginning of the specified connector is connected to a shape). -
getBeginConnectedShape
IShape getBeginConnectedShape()Returns theIShapeobject that represents the shape that thebeginning of the specified connector is attached to. -
getBeginConnectionSite
int getBeginConnectionSite()Returns an integer that specifies the connection site that the beginning of a connector is connected to. -
getEndConnected
boolean getEndConnected()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). -
getEndConnectedShape
IShape getEndConnectedShape()Returns theIShapeobject that represents the shape that the end ofthe specified connector is attached to. -
getEndConnectionSite
int getEndConnectionSite()Returns an integer that specifies the connection site that the end of a connector is connected to. -
getType
ConnectorType getType()Gets the connector format type. -
setType
Sets the connector format type. -
beginConnect
Attaches the beginning of the specified connector to a specified shape. -
beginDisconnect
void beginDisconnect()Detaches the beginning of the specified connector from the shape it’s attached to. -
endConnect
Attaches the end of the specified connector to a specified shape. -
endDisconnect
void endDisconnect()Detaches the end of the specified connector from the shape it’s attached to.
-