[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Model.Serializer.SerializeFont

SerializeFont Method

SerializeFont(FontInfo, string, XmlTextWriter)

Serializes font information into XML with the specified writer.

Declaration
public static void SerializeFont(FontInfo font, string elementName, XmlTextWriter w)
Public Shared Sub SerializeFont(font As FontInfo, elementName As String, w As XmlTextWriter)
Parameters
Type Name Description
FontInfo font

FontInfo object that contains the font information

string elementName

Name of XML element

XmlTextWriter w

XmlTextWriter

SerializeFont(FontInfo, string, XmlTextWriter, bool)

Serializes font information into XML with the specified writer.

Declaration
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)
Parameters
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