Connector
Connector class
Represents a connector.
getConnectorLock
| Name | Description |
|---|---|
| getConnectorLock () | Returns connector’s locks. Read-only IConnectorLock. |
Returns: ConnectorLock
getEndShapeConnectedTo
| Name | Description |
|---|---|
| getEndShapeConnectedTo () | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: Connector, GraphicalObject, Shape, SmartArtShape, Table, Ink, GeometryShape, SummaryZoomFrame, SummaryZoomSection, ZoomFrame, OleObjectFrame, VideoFrame, SmartArt, GroupShape, InkActions, AutoShape, SectionZoomFrame, PictureFrame, AudioFrame, Chart, LegacyDiagram, ZoomObject
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
getEndShapeConnectionSiteIndex
| Name | Description |
|---|---|
| getEndShapeConnectionSiteIndex () | Returns or sets the index of connection site for end shape. Read/write long. |
Returns: long
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when value is less than EndShapeConnectedTo.ConnectionSiteCount |
getShapeLock
| Name | Description |
|---|---|
| getShapeLock () | Returns shape’s locks. Read-only IConnectorLock. |
Returns: ConnectorLock
getShapeType
| Name | Description |
|---|---|
| getShapeType () | Returns or sets the AutoShape type. Read/write ShapeType. |
Returns: int
getStartShapeConnectedTo
| Name | Description |
|---|---|
| getStartShapeConnectedTo () | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: Connector, GraphicalObject, Shape, SmartArtShape, Table, Ink, GeometryShape, SummaryZoomFrame, SummaryZoomSection, ZoomFrame, OleObjectFrame, VideoFrame, SmartArt, GroupShape, InkActions, AutoShape, SectionZoomFrame, PictureFrame, AudioFrame, Chart, LegacyDiagram, ZoomObject
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
getStartShapeConnectionSiteIndex
| Name | Description |
|---|---|
| getStartShapeConnectionSiteIndex () | Returns or sets the index of connection site for start shape. Read/write long. |
Returns: long
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when value is less than StartShapeConnectedTo.ConnectionSiteCount |
reroute
| Name | Description |
|---|---|
| reroute () | Reroutes connector so that it take the shortest possible path between the shapes it connect. |
Returns: void
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (Connector) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (GraphicalObject) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (Shape) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (SmartArtShape) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (Table) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (Ink) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (GeometryShape) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (SummaryZoomFrame) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (SummaryZoomSection) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (ZoomFrame) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (OleObjectFrame) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (VideoFrame) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (SmartArt) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (GroupShape) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (InkActions) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (AutoShape) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (SectionZoomFrame) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (PictureFrame) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (AudioFrame) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (Chart) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (LegacyDiagram) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectedTo
| Name | Description |
|---|---|
| setEndShapeConnectedTo (ZoomObject) | Returns or sets the shape to attach the end of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setEndShapeConnectionSiteIndex
| Name | Description |
|---|---|
| setEndShapeConnectionSiteIndex (long) | Returns or sets the index of connection site for end shape. Read/write long. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when value is less than EndShapeConnectedTo.ConnectionSiteCount |
setShapeType
| Name | Description |
|---|---|
| setShapeType (int) | Returns or sets the AutoShape type. Read/write ShapeType. |
Returns: void
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (Connector) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (GraphicalObject) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (Shape) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (SmartArtShape) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (Table) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (Ink) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (GeometryShape) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (SummaryZoomFrame) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (SummaryZoomSection) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (ZoomFrame) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (OleObjectFrame) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (VideoFrame) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (SmartArt) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (GroupShape) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (InkActions) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (AutoShape) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (SectionZoomFrame) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (PictureFrame) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (AudioFrame) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (Chart) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (LegacyDiagram) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectedTo
| Name | Description |
|---|---|
| setStartShapeConnectedTo (ZoomObject) | Returns or sets the shape to attach the beginning of the connector to. Read/write IShape. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when connected shape doesn’t has any connection sites (IShape.ConnectionSiteCount equals zero) |
setStartShapeConnectionSiteIndex
| Name | Description |
|---|---|
| setStartShapeConnectionSiteIndex (long) | Returns or sets the index of connection site for start shape. Read/write long. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Thrown when value is less than StartShapeConnectedTo.ConnectionSiteCount |