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

Dynamically modifying a shape within a symbol

Thread ID:

Created:

Updated:

Platform:

Replies:

49338 Sep 15,2006 05:59 PM UTC Sep 18,2006 02:46 PM UTC WinForms 3
loading
Tags: Diagram
Administrator [Syncfusion]
Asked On September 15, 2006 05:59 PM UTC

I have a symbol which contains a rectangle; when I created the rectangle I specified local coordinates within the symbol (i.e. 0,0).

I now need to programmatically move the location of the rectangle within the symbol; but local coordinates no longer seem to be correct (i.e. 10,10 does not move the rectangle to 10,10 within the symbol).

What is going on?

J.Nagarajan [Syncfusion]
Replied On September 15, 2006 09:59 PM UTC

Hi Mulveyja,

Thank you for your interest in Syncfusion Essential Diagram.

I am afraid, I was not able to reproduce this issue with v4.2.0.37. I have attached my test sample here for your reference. In this sample initially you should select the symbol and you can enter the X and Y coordinates(10,10) in the corresponding textboxes and when you click on the "Ok" button the inner rectangle will move to its corresponding modified location within the symbol.

Please try this and let me know if this helps you.

Thank you for your interest in Syncfusion products.

Regards
Nagarajan

CustomSymbol.zip




Administrator [Syncfusion]
Replied On September 18, 2006 09:00 AM UTC

Your sample seems to demonstrate exactly the issue that I''m seeing.

I''ve just upgraded to SF 4.2.0.37 to be sure.

With your sample try moving MySymbol to the center of the design surface. Then modify the x and y of the innerRect and you should see the issue that I''m having.
Basically after adding MySymbol to the diagram it then morphs into using world rather than MySymbol local coordinates. i.e. setting the innerRect location to 0,0 actually positions the innerRect at the origin of the diagram; not the origin of the containing symbol (which is what one would expect).

Can you confirm that you see this?

Thanks for your prompt response,

James

J.Nagarajan [Syncfusion]
Replied On September 18, 2006 02:46 PM UTC

Hi Mulveyja,

Sorry for the inconvenience caused. I have tested this issue in v.4.2.0.37 and I was able to reproduce this issue. But it has been fixed in v.4.2.0.60 and our later patches.Please create a new Direct-Trac incident (mention the forum link in the subject line) so that we can update with the download link of v.4.2.0.60.

Please check this issue in v.4.2.0.60 and let me know if you have any probelm in this version.

Thanks for using Syncfusion products.

Regards,
Nagaraj

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.

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

;