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

Put Shape in V5

Thread ID:

Created:

Updated:

Platform:

Replies:

60895 May 14,2007 11:44 PM UTC May 15,2007 06:58 AM UTC WinForms 2
loading
Tags: Diagram
Julien GRAINGEOT
Asked On May 14, 2007 11:44 PM UTC

With the V4, I put new Shapes and place it on the diagram with the Shape.X and Shape.Y, but the Shape class is remplaced by Node and have no more X and Y property. How can I place my new shape?

Meera Fathima [Syncfusion]
Replied On May 15, 2007 05:34 AM UTC


Hi Graingeot,

As with the v5.1 of Essential Diagram, Node's position is defined by PinPoint property. It is demonstrated in many of the diagram samples.

The following is the sample code snippet from the Diagram Samples/Symbol Design/Dynamic Symbol sample for your reference.

private void toolBar1_ButtonClick(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e)
{
//.. code snippets.
MySymbol symbol2 = new MySymbol();
symbol2.PinPoint = new PointF(200, 200);

//.. code snippets.
}

Please let me know if you have any queries regarding this.

Thanks for using Syncfusion products.

Best Regards,
Meera.

Julien GRAINGEOT
Replied On May 15, 2007 06:58 AM UTC

It work.
Thanks.

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

;