SerializeColorValue Method
In This Topic
Converts a color object into a color name (for example, Blue) or a six-digit hexadecimal color value (for example, #FFFFFF).
Syntax
'Declaration
Public Shared Function SerializeColorValue( _
ByVal As Color _
) As String
'Usage
Dim c As Color
Dim value As String
value = Serializer.SerializeColorValue(c)
public static string SerializeColorValue(
Color
)
Parameters
- c
- Color object containing the color
See Also