Category / Section
How to retrieve the Port information of a particular symbol?
1 min read
How to retrieve the Port information of a particular symbol?
We can retrieve the specific port information using HandlesHitTesting.GetConnectionPointAtPoint(Node, Point) method. This method has two parameters they are:
- Node : The symbol in which the port resides
- Point : The Point object that specifies the location of the port.
C#
ConnectionPoint port = HandlesHitTesting.GetConnectionPointAtPoint(circle, new Point(120, 120));
VB
Dim port As ConnectionPoint = HandlesHitTesting.GetConnectionPointAtPoint(circle, New Point(120, 120))