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

Regarding double line links

Thread ID:





94242 Apr 30,2010 01:10 PM UTC May 4,2010 04:34 AM UTC WinForms 1
Tags: FAQ
ravali allam
Asked On April 30, 2010 01:10 PM UTC


We have a requirement where we need to provide a link tool to the user. The link tool provided by default draws single line links but we need to draw double line links. Attached is an example for the same.
I have searched for possible solutions and found couple of solutions which suggested to override DrawPath method. Can you please elaborate on the same. If possible please share source code also.
I appreciate your support.

Thanks in Advance,


Melba Winshia [Syncfusion]
Replied On May 4, 2010 04:34 AM UTC

Hi Ravali,

Thanks for contacting Syncfusion support.

You can draw double line links by deriving LineTool and LineBaseTool class and drawing the double line in the ProcessMouseUp event of LineBaseTool class. Please refer to the following sample which illustrates this:


In this sample, you can set OffsetX / OffsetY values of the Line and BezierCurve by the corresponding comboboxes and you can activate the customized LineTool and BezierCurveTool by using Tool->LineTool and Tool->BeizierTool menuitems.

Please try this and let me know if this helps.



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

or the page will be automatically redirected to 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