getEndShapeConnectedTo

getEndShapeConnectedTo() function

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

Result

VideoFrame, AudioFrame, Chart, Shape, OleObjectFrame, Connector, ZoomObject, SmartArtShape, SmartArt, Table, LegacyDiagram, AutoShape, GroupShape, GraphicalObject, GeometryShape, PictureFrame, SectionZoomFrame, Ink, SummaryZoomFrame, SummaryZoomSection, ZoomFrame

Error

ErrorCondition
ArgumentExceptionThrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero)