Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Sub SerializeFont( _ ByVal font As FontInfo, _ ByVal elementName As String, _ ByVal w As XmlTextWriter, _ ByVal shortXmlName As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim font As FontInfo Dim elementName As String Dim w As XmlTextWriter Dim shortXmlName As Boolean Serializer.SerializeFont(font, elementName, w, shortXmlName) |
C# | |
---|---|
public static void SerializeFont( FontInfo font, string elementName, XmlTextWriter w, bool shortXmlName ) |
Parameters
- font
- FontInfo object containing the font information
- elementName
- Name of XML element
- w
- XmlTextWriter
- shortXmlName
- Whether to use the short XML name
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family