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.
Unfortunately, activation email could not send to your email. Please try again.

Regarding double line links

Thread ID:

Created:

Updated:

Platform:

Replies:

94242 Apr 30,2010 09:10 AM May 4,2010 12:34 AM Windows Forms 1
loading
Tags: FAQ
ravali allam
Asked On April 30, 2010 09:10 AM

Hi,

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,
Ravali




doublelinelink_25bbfd8e.rar

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

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:

http://help.syncfusion.com/support/Diagram.Windows/LineTool_DoubleLine_94242.zip

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.

Thanks,
Melba

CONFIRMATION

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.

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.

;