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

    Parameters

    c
    Color object that contains the color

    Return Value

    String containing the serialized color value
    See Also