Converts a color object into a color name (for example, Blue) or a six-digit hexadecimal color value (for example, #FFFFFF).
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function SerializeColorValue( _
ByVal c As Color _
) As String |
Visual Basic (Usage) | Copy Code |
---|
Dim c As Color
Dim value As String
value = Serializer.SerializeColorValue(c) |
Parameters
- c
- Color object containing the color
Return Value
String containing the serialized color value
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also