<< Click to Display Table of Contents >> NShape Reference
|
Creates a new connection point at the specified position and returns the ControlPointId of the created connection point. The specified coordinates have to be on the outline of the linear shape.
ControlPointId AddConnectionPoint(int x, int y) |
Creates a new connection point at the specified position and returns the ControlPointId of the created connection point. The specified coordinates have to be on the outline of the linear shape.
Available in NShape 2.0
Name |
Description |
---|---|
x |
X coordinate of the new connection point |
y |
Y coordinate of the new connection point |
The ControlPointId of the new connection point.
Exception |
Condition |
---|---|
NShapeException |
Adding a new connection point failed. |