<< Click to Display Table of Contents >> NShape Reference
|
Tests, whether the shape is connected to a given other shape.
public abstract ControlPointId IsConnected( |
With IsConnected(ControlPointId.Any, null) the method returns true, if the shape has a connection to any other shape.
Name |
Description |
---|---|
ownPointId |
Control point of the shape for which to test. ControlPointId.Any tests all control points of the shape. |
otherShape |
Restricts the search to connections to the otherShape. May be null to search for connections to any shape. |
True, if the shape has at least one of the specified connections.
Name |
Description |
---|---|
ArgumentException |
ownPointId is invalid. |