com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IConnector

    • Method Detail

      • 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.