Color and Font

Phylum

Well-known member
Joined
Jun 20, 2003
Messages
105
Location
Canada
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
 
Im 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
thats unique to that color. You can then get the number back into
a color structure by calling Color.FromArgb().
 

Similar threads

J
Replies
0
Views
59
Jalil Sear [MCPD SharePoint]
J
T
Replies
0
Views
567
This_display_name_is_already_in_use_They_all_are
T
Back
Top