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 : Nov 16th 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:

Created:

Updated:

Platform:

Replies:

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

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

I do these steps in my code:
diagram1.Controller.ActivateTool("LineTool");
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.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=Diagram_WF_CustomTool-1343334095.zip

Regards,
Dinesh

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.

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

;