Spread Windows Forms 7.0 Product Documentation
SerializeColorValue Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win 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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.