Spread ASP.NET 6.0 Product Documentation
SerializeColorValue Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > Serializer Class : SerializeColorValue Method


c
Color object containing the color

Glossary Item Box

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)
C# 
public static string SerializeColorValue( 
   Color c
)

Parameters

c
Color object containing the color

Return Value

String containing the serialized color value

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.