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

(System.Drawing.Color)info.GetValue("FillColor", typeof(System.Drawing.Color)) causes error

Thread ID:

Created:

Updated:

Platform:

Replies:

79800 Feb 26,2009 02:11 PM UTC Feb 28,2009 06:39 AM UTC WinForms 1
loading
Tags: Diagram
Ron Alan Sawyer
Asked On February 26, 2009 02:11 PM UTC

I have a custom symbol. When I do a copy and paste of this symbol the following line causes an issue:

FillColor = (System.Drawing.Color)info.GetValue("FillColor", typeof(System.Drawing.Color));


If I take the line out, I don't have a problem, if I put it in, there are problems.

The line
diagramForm.Diagram.Controller.Paste( );
offers this exception:

Unable to cast object of type 'System.IO.MemoryStream' to type 'Syncfusion.Windows.Forms.Diagram.ClipboardNodeCollection'.



Administrator [Syncfusion]
Replied On February 28, 2009 06:39 AM UTC

Hi RAS,
Can you post the full code or if possible a sample that produces the error that you are currently facing.

Thanks,
Dinesh


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

;