E
expertware
To conver a color to its hexadecimal string I have devised
this way:
Function HexStringFromColor(ByVal Colore As Color) As String
Return "#" & Colore.FromArgb(Colore.A,
Colore).Name.Substring(2).ToUpper
End Function
but it seems a little bit ackward. I would like to ask if there
is a better way (colortranslator does not seem to have this function,
but I may be missing it).
-Pamela
this way:
Function HexStringFromColor(ByVal Colore As Color) As String
Return "#" & Colore.FromArgb(Colore.A,
Colore).Name.Substring(2).ToUpper
End Function
but it seems a little bit ackward. I would like to ask if there
is a better way (colortranslator does not seem to have this function,
but I may be missing it).
-Pamela