public interface IConnector extends IGeometryShape
Represents a connector.
Modifier and Type | Method and Description |
---|---|
IConnectorLock |
getConnectorLock()
Returns Connector's locks.
|
IShape |
getEndShapeConnectedTo()
Returns or sets the shape to attach the end of the connector to.
|
long |
getEndShapeConnectionSiteIndex()
Returns or sets the index of connection site for end shape.
|
IConnectorLock |
getShapeLock()
Returns shape's locks.
|
IShape |
getStartShapeConnectedTo()
Returns or sets the shape to attach the beginning of the connector to.
|
long |
getStartShapeConnectionSiteIndex()
Returns or sets the index of connection site for start shape.
|
void |
reroute()
Reroutes connector so that it take the shortest possible path between the shapes it connect.
|
void |
setEndShapeConnectedTo(IShape value)
Returns or sets the shape to attach the end of the connector to.
|
void |
setEndShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for end shape.
|
void |
setStartShapeConnectedTo(IShape value)
Returns or sets the shape to attach the beginning of the connector to.
|
void |
setStartShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for start shape.
|
createShapeElements, getAdjustments, getShapeStyle, getShapeType, setShapeType
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getOfficeInteropShapeId, getParentGroup, getPlaceholder, getRawFrame, getRotation, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
getSlide
getPresentation
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver
IConnectorLock getShapeLock()
Returns shape's locks.
Read-only IConnectorLock
.
getShapeLock
in interface IShape
IConnectorLock getConnectorLock()
Returns Connector's locks.
Read-only IConnectorLock
.
IShape getStartShapeConnectedTo()
Returns or sets the shape to attach the beginning of the connector to.
Read/write IShape
.
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)void setStartShapeConnectedTo(IShape value)
Returns or sets the shape to attach the beginning of the connector to.
Read/write IShape
.
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)IShape getEndShapeConnectedTo()
Returns or sets the shape to attach the end of the connector to.
Read/write IShape
.
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)void setEndShapeConnectedTo(IShape value)
Returns or sets the shape to attach the end of the connector to.
Read/write IShape
.
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)long getStartShapeConnectionSiteIndex()
Returns or sets the index of connection site for start shape.
Read/write long
.
com.aspose.ms.System.ArgumentException
- Thrown when value is less than StartShapeConnectedTo.ConnectionSiteCountvoid setStartShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for start shape.
Read/write long
.
com.aspose.ms.System.ArgumentException
- Thrown when value is less than StartShapeConnectedTo.ConnectionSiteCountlong getEndShapeConnectionSiteIndex()
Returns or sets the index of connection site for end shape.
Read/write long
.
com.aspose.ms.System.ArgumentException
- Thrown when value is less than EndShapeConnectedTo.ConnectionSiteCountvoid setEndShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for end shape.
Read/write long
.
com.aspose.ms.System.ArgumentException
- Thrown when value is less than EndShapeConnectedTo.ConnectionSiteCountvoid reroute()
Reroutes connector so that it take the shortest possible path between the shapes it connect.