Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / Serializer Class / SerializeFontValue Method / SerializeFontValue(Object,XmlWriter,Boolean) Method
FontInfo object containing the font information
XmlTextWriter
Whether to use the short XML name


In This Topic
    SerializeFontValue(Object,XmlWriter,Boolean) Method
    In This Topic
    Serializes font information to XML with the specified writer and short XML name option without writing element tags.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function SerializeFontValue( _
       ByVal o As Object, _
       ByVal w As XmlWriter, _
       ByVal shortXmlName As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim o As Object
    Dim w As XmlWriter
    Dim shortXmlName As Boolean
    Dim value As Boolean
     
    value = Serializer.SerializeFontValue(o, w, shortXmlName)
    public static bool SerializeFontValue( 
       object o,
       XmlWriter w,
       bool shortXmlName
    )

    Parameters

    o
    FontInfo object containing the font information
    w
    XmlTextWriter
    shortXmlName
    Whether to use the short XML name
    See Also