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.

Add points

Thread ID:

Created:

Updated:

Platform:

Replies:

100436 Aug 8,2011 01:38 AM Aug 15,2011 08:20 AM Windows Forms 1
loading
Tags: Diagram
John Previn Kumar
Asked On August 8, 2011 01:38 AM

Is there a tool that can be used to draw points when user clicks on the diagram? The points added should be movable and delete-able.


Pandi Murugan A [Syncfusion]
Replied On August 15, 2011 08:20 AM

Hi JVM,

Thanks for using Syncfusion products and sorry for the delay in getting back to you.

We suggest you to use InsertNodeTool to achieve your requirement. Here is the code snippet for your reference.

[C#]

Ellipse pt = new Ellipse(0, 0, 5, 5);
pt.FillStyle.Color = Color.Black;

//Activate insertnode tool with the point node
diagram1.Controller.NodeToInsert = pt;
diagram1.Controller.ActivateTool("InsertNodeTool");


Here is the sample which meets your requirement.

F100436-1668839153.zip

Please try this and let me know if this helps.

Note : The InsertNodeTool is available in the latest version.

Regards,
Pandi Murugan A


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.

;