getEndShapeConnectedTo

getEndShapeConnectedTo() method

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

Returns

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

Exception

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