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

array of point

Thread ID:





61516 May 28,2007 01:14 PM UTC May 29,2007 11:49 AM UTC WinForms 3
Tags: Diagram
Jonathan Weizman
Asked On May 28, 2007 01:14 PM UTC


How can i add a node which is an array of Point ?


Ramya R [Syncfusion]
Replied On May 29, 2007 08:33 AM UTC

Hi John,

Thank you for your interest in Syncfusion Products.

Could you please provide me with some more information with regard to your requirement, so that it would help us in meeting your requirement exactly?


Jonathan Weizman
Replied On May 29, 2007 08:55 AM UTC

Actually, i have a "free hand" drawing which is an array of points.
It is not polygon nor some lines...

If i were under GDI i would have created a GraphicsPath object.
In Diagram, what is the corresponding object i have to instantiate ?

Ramya R [Syncfusion]
Replied On May 29, 2007 11:49 AM UTC

Hi John,

Thank you for the update.

GraphicsPath is a series of curves and lines.
So if your intention is to create a node consisting of several lines and curves using the array of points you have then it can be done by customizing the Group Class and creating a node consisting of several lines ,curves etc...

Kindly take a look at the attached sample.

In this sample, the Group class is customized and several closedcurve and line nodes are appended to form a group in this custom class. Then this group is appended to the DiagramModel under the form load event.

You can download the sample from the webpage link given below,

Let me know whether this helps you.

Thanks & Regards,


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

or the page will be automatically redirected to 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