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

LineTool: how to change line width in code?

Thread ID:





92978 Feb 17,2010 09:17 AM UTC Feb 18,2010 11:10 AM UTC WinForms 1
Tags: Diagram
Witold Slirz
Asked On February 17, 2010 09:17 AM UTC

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 11:10 AM UTC

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.

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