We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Code in new version required

Thread ID:





61705 May 31,2007 08:01 AM UTC May 31,2007 11:59 AM UTC WinForms 1
Tags: Diagram
Faheem Rauf
Asked On May 31, 2007 08:01 AM UTC

Hi, I want to convert the following function into new syncfusion verion v.5.1.

void CreateLink(symbol SourceNode , symbol TargetNode)
LinkCmd objLinkCmd = new LinkCmd();
objNodeLink.LineBridgingEnabled = true;
objNodeLink.LineRoutingEnabled = true;
objLinkCmd.Link = objNodeLink;
objLinkCmd.SourcePort = SourceNode.leftport;
objLinkCmd.TargetPort = TargetNode.leftport;

Please guide me. I will be thankful to you.


Meera Fathima [Syncfusion]
Replied On May 31, 2007 11:59 AM UTC

Hello Ali,

Please find the below code snippet used in v5.1 to draw link between two nodes.

void CreateLink(MySymbol SourceNode , MySymbol TargetNode)
LineConnector line = new LineConnector(SourceNode.PinPoint, TargetNode.PinPoint);
line .LineBridgingEnabled = true;
line .LineRoutingEnabled = true;

// Make connection between the two nodes and the line connector through its end point.

Please let me know whether this is helpful to you.

Thanks for your interest in Syncfusion products.

Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon