Converting String back to Color Object

skyyakal

Regular
Joined
Oct 3, 2003
Messages
74
Hallo everybody!

I saved the Color object to file like System.Drawing.Color.ToString


How can I convert the String back to Drawing.Color?!

I know there are Color.FromName(ColorString) Method.

But if there is an ARGB Color, do I have to extract each of 4 ARGB values from String, convert it to Integer and then use Color.FromARGB?

Or is there another function, that could do it directly?

Thank you for your time in advance!!!
 
Back
Top