Spread for ASP.NET 11 Product Documentation
SerializeColor Method


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > Serializer Class : SerializeColor Method
Color object that contains the color
Name of XML element
XmlTextWriter
Serializes a color to XML with the specified writer.
Syntax
'Declaration
 
Public Shared Sub SerializeColor( _
   ByVal c As Color, _
   ByVal elementName As String, _
   ByVal w As XmlTextWriter _
) 
'Usage
 
Dim c As Color
Dim elementName As String
Dim w As XmlTextWriter
 
Serializer.SerializeColor(c, elementName, w)
public static void SerializeColor( 
   Color c,
   string elementName,
   XmlTextWriter w
)

Parameters

c
Color object that contains the color
elementName
Name of XML element
w
XmlTextWriter
See Also

Reference

Serializer Class
Serializer Members