Articles in this section
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))

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied