Articles in this section

How to retrieve the Port information of a particular symbol?

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))


Conclusion:

I hope you enjoyed learning about How to retrieve the Port information of a particular symbol.

You can refer to the WinForms Diagram feature tour page to learn about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our WinForms Diagram example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

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