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.

LineTool: how to change line width in code?

Thread ID:





92978 Feb 17,2010 04:17 AM Feb 18,2010 06:10 AM Windows Forms 1
Tags: Diagram
Witold Slirz
Asked On February 17, 2010 04:17 AM

How can I change drawing line style and properties when I use Syncfusion.Windows.Forms.Diagram.LineTool ?

I do these steps in my code:
LineTool tool = (LineTool)diagram1.Controller.ActiveTool;

but LineTool class does not have any properties or methods to change line style.

I know that it is imposible to use PeropertyEditor component, but
all operations must be done in code

Dinesh M [Syncfusion]
Replied On February 18, 2010 06:10 AM

Hi Witold,

Thank you for your interest in Syncfusion products.

You can achieve this requirement by customizing the LineTool, I have created a sample that explains the way to achieve you requirement.




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.