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.

Layer does not implement ICloneable

Thread ID:

Created:

Updated:

Platform:

Replies:

28961 May 12,2005 05:41 PM May 18,2005 02:58 PM Windows Forms 1
loading
Tags: Diagram
Administrator [Syncfusion]
Asked On May 12, 2005 05:41 PM

I was attempting to clone a Diagram.Model and then add some nodes to the new copy and rendering them to a file. What I discovered was that adding nodes to the model copy was causing them to be displayed in my original when it was refreshed. The reason for this is because the layer collection was not properly cloned resulting in the original model having the same default layer as the model copy. I discovered this by stepping into and through the model''s Clone() and then the layercollection''s clone(). When it gets down to CollectionEx and the layers are attempted to be cloned, the object to be cloned (a layer) cannot be cast to ICloneable. As a result, the layer object is added to the new collection instead of cloned then added. Regards, Kevin

Administrator [Syncfusion]
Replied On May 18, 2005 02:58 PM

Kevin, Thank you for notifying us of this problem. I have logged a QA report and we will fix the problem for a future update of the product. While we cannot guarantee a turnaround time on QA reports, I assure you that we will do our best to address the issue in a timely manner. Regards, Prakash Syncfusion Inc.,

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.

;