Connector

Connector class

Represents a connector.

getConnectorLock

NameDescription
getConnectorLock ()Returns connector’s locks. Read-only IConnectorLock.

Returns: ConnectorLock


getEndShapeConnectedTo

NameDescription
getEndShapeConnectedTo ()Returns or sets the shape to attach the end of the connector to. Read/write IShape.

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

Exception

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

getEndShapeConnectionSiteIndex

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

Returns: long

Exception

ErrorCondition
ArgumentExceptionThrown when value is less than EndShapeConnectedTo.ConnectionSiteCount

getShapeLock

NameDescription
getShapeLock ()Returns shape’s locks. Read-only IConnectorLock.

Returns: ConnectorLock


getShapeType

NameDescription
getShapeType ()Returns or sets the AutoShape type. Read/write ShapeType.

Returns: int


getStartShapeConnectedTo

NameDescription
getStartShapeConnectedTo ()Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

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

Exception

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

getStartShapeConnectionSiteIndex

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

Returns: long

Exception

ErrorCondition
ArgumentExceptionThrown when value is less than StartShapeConnectedTo.ConnectionSiteCount

reroute

NameDescription
reroute ()Reroutes connector so that it take the shortest possible path between the shapes it connect.

Returns: void


setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (Connector)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (GraphicalObject)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (SmartArtShape)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (Table)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (Shape)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (Ink)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (GeometryShape)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (SummaryZoomFrame)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (ZoomFrame)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (SummaryZoomSection)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (OleObjectFrame)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (VideoFrame)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (SmartArt)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (GroupShape)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (AutoShape)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (SectionZoomFrame)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (PictureFrame)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (Chart)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (AudioFrame)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (ZoomObject)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectedTo

NameDescription
setEndShapeConnectedTo (LegacyDiagram)Returns or sets the shape to attach the end of the connector to. Read/write IShape.

Returns: void

Exception

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

setEndShapeConnectionSiteIndex

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

Returns: void

Exception

ErrorCondition
ArgumentExceptionThrown when value is less than EndShapeConnectedTo.ConnectionSiteCount

setShapeType

NameDescription
setShapeType (int)Returns or sets the AutoShape type. Read/write ShapeType.

Returns: void


setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (Connector)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (GraphicalObject)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (SmartArtShape)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (Table)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (Shape)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (Ink)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (GeometryShape)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (SummaryZoomFrame)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (ZoomFrame)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (SummaryZoomSection)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (OleObjectFrame)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (VideoFrame)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (SmartArt)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (GroupShape)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (AutoShape)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (SectionZoomFrame)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (PictureFrame)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (Chart)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (AudioFrame)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (ZoomObject)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectedTo

NameDescription
setStartShapeConnectedTo (LegacyDiagram)Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.

Returns: void

Exception

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

setStartShapeConnectionSiteIndex

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

Returns: void

Exception

ErrorCondition
ArgumentExceptionThrown when value is less than StartShapeConnectedTo.ConnectionSiteCount