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, getGeometryPaths, getShapeStyle, getShapeType, setGeometryPath, setGeometryPaths, setShapeTypeaddPlaceholder, getAlternativeText, getAlternativeTextTitle, getBasePlaceholder, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getImage, getImage, getLineFormat, getName, getOfficeInteropShapeId, getParentGroup, getPlaceholder, getRawFrame, getRotation, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isDecorative, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setDecorative, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvggetSlidegetPresentationgetHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOverIConnectorLock getShapeLock()
Returns shape's locks.
Read-only IConnectorLock.
getShapeLock in interface IShapeIConnectorLock 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.
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.