Serializes font information into XML with the specified writer.
Syntax
'Declaration
Public Overloads Shared Sub SerializeFont( _
ByVal As FontInfo, _
ByVal As String, _
ByVal As XmlTextWriter, _
ByVal 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 ,
string ,
XmlTextWriter ,
bool
)
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