com.aspose.slides
Interface IConnector

All Superinterfaces:
IGeometryShape, IHyperlinkContainer, IPresentationComponent, IShape, ISlideComponent
All Known Implementing Classes:
Connector

public interface IConnector
extends IGeometryShape

Represents a connector.


Method Summary
 IConnectorLock getConnectorLock()
           Returns shape'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.
 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.
 
Methods inherited from interface com.aspose.slides.IGeometryShape
createShapeElements, getAdjustments, getShapeStyle, getShapeType, setShapeType
 
Methods inherited from interface com.aspose.slides.IShape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getParentGroup, getPlaceholder, getRawFrame, getRotation, getShapeLock, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setBlackWhiteMode, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY
 
Methods inherited from interface com.aspose.slides.ISlideComponent
getSlide
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 
Methods inherited from interface com.aspose.slides.IHyperlinkContainer
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver
 

Method Detail

getConnectorLock

IConnectorLock getConnectorLock()

Returns shape's locks. Read-only IConnectorLock.


getStartShapeConnectedTo

IShape getStartShapeConnectedTo()

Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Throws:
com.aspose.ms.System.ArgumentException - Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)


setStartShapeConnectedTo

void setStartShapeConnectedTo(IShape value)

Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Throws:
com.aspose.ms.System.ArgumentException - Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)


getEndShapeConnectedTo

IShape getEndShapeConnectedTo()

Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Throws:
com.aspose.ms.System.ArgumentException - Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)


setEndShapeConnectedTo

void setEndShapeConnectedTo(IShape value)

Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Throws:
com.aspose.ms.System.ArgumentException - Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)


getStartShapeConnectionSiteIndex

long getStartShapeConnectionSiteIndex()

Returns or sets the index of connection site for start shape. Read/write long.

Throws:
com.aspose.ms.System.ArgumentException - Thrown when value is less than StartShapeConnectedTo.ConnectionSiteCount


setStartShapeConnectionSiteIndex

void setStartShapeConnectionSiteIndex(long value)

Returns or sets the index of connection site for start shape. Read/write long.

Throws:
com.aspose.ms.System.ArgumentException - Thrown when value is less than StartShapeConnectedTo.ConnectionSiteCount


getEndShapeConnectionSiteIndex

long getEndShapeConnectionSiteIndex()

Returns or sets the index of connection site for end shape. Read/write long.

Throws:
com.aspose.ms.System.ArgumentException - Thrown when value is less than EndShapeConnectedTo.ConnectionSiteCount


setEndShapeConnectionSiteIndex

void setEndShapeConnectionSiteIndex(long value)

Returns or sets the index of connection site for end shape. Read/write long.

Throws:
com.aspose.ms.System.ArgumentException - Thrown when value is less than EndShapeConnectedTo.ConnectionSiteCount


reroute

void reroute()

Reroutes connector so that it take the shortest possible path between the shapes it connect.



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.