Spread WinForms 15
FarPoint.Win Assembly / FarPoint.Win Namespace / Serializer Class / SerializeColorValue Method
Color object containing the color


In This Topic
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 c As Color _
) As String
 
'Usage
 
Dim c As Color
Dim value As String
 
value = Serializer.SerializeColorValue(c)

Parameters

c
Color object containing the color
See Also