Phylum Posted August 28, 2003 Posted August 28, 2003 How would one store a color or a font into a database? Is there a method to turn the color or font into a number? Do you have to do it another more tedious way? Any response will be helpful. Phylum Quote
wyrd Posted August 28, 2003 Posted August 28, 2003 How about serialization? Quote Gamer extraordinaire. Programmer wannabe.
*Experts* Bucky Posted August 28, 2003 *Experts* Posted August 28, 2003 I'm not sure about the font, because you would have to install it to even be able to use it, but Color.ToArgb() returns an integer that's unique to that color. You can then get the number back into a color structure by calling Color.FromArgb(). Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.