Spread for ASP.NET 11 Product Documentation
SerializeColorValue Method


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > Serializer Class : SerializeColorValue Method
Color object that contains the color
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)
public static string SerializeColorValue( 
   Color c
)

Parameters

c
Color object that contains the color

Return Value

String containing the serialized color value
See Also

Reference

Serializer Class
Serializer Members