Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / Serializer Class / SerializeFont Method / SerializeFont(FontInfo,String,XmlTextWriter,Boolean) Method
FontInfo object that contains the font information
Name of XML element
XmlTextWriter
Whether to use the short XML name


In This Topic
    SerializeFont(FontInfo,String,XmlTextWriter,Boolean) Method
    In This Topic
    Serializes font information into XML with the specified writer.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub SerializeFont( _
       ByVal font As FontInfo, _
       ByVal elementName As String, _
       ByVal w As XmlTextWriter, _
       ByVal shortXmlName As Boolean _
    ) 
    'Usage
     
    
    Dim font As FontInfo
    Dim elementName As String
    Dim w As XmlTextWriter
    Dim shortXmlName As Boolean
     
    Serializer.SerializeFont(font, elementName, w, shortXmlName)
    public static void SerializeFont( 
       FontInfo font,
       string elementName,
       XmlTextWriter w,
       bool shortXmlName
    )

    Parameters

    font
    FontInfo object that contains the font information
    elementName
    Name of XML element
    w
    XmlTextWriter
    shortXmlName
    Whether to use the short XML name
    See Also