[]
Serializes font information into XML with the specified writer.
public static void SerializeFont(FontInfo font, string elementName, XmlTextWriter w)
Public Shared Sub SerializeFont(font As FontInfo, elementName As String, w As XmlTextWriter)
| Type | Name | Description |
|---|---|---|
| FontInfo | font | FontInfo object that contains the font information |
| string | elementName | Name of XML element |
| XmlTextWriter | w | XmlTextWriter |
Serializes font information into XML with the specified writer.
public static void SerializeFont(FontInfo font, string elementName, XmlTextWriter w, bool shortXmlName)
Public Shared Sub SerializeFont(font As FontInfo, elementName As String, w As XmlTextWriter, shortXmlName As Boolean)
| Type | Name | Description |
|---|---|---|
| FontInfo | font | FontInfo object that contains the font information |
| string | elementName | Name of XML element |
| XmlTextWriter | w | XmlTextWriter |
| bool | shortXmlName | Whether to use the short XML name |