[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Model.Serializer.SerializeFontValue

SerializeFontValue Method

SerializeFontValue(object, XmlTextWriter)

Serializes a font to XML with the specified writer without writing element tags.

Declaration
public static bool SerializeFontValue(object o, XmlTextWriter w)
Public Shared Function SerializeFontValue(o As Object, w As XmlTextWriter) As Boolean
Parameters
Type Name Description
object o

Font object that contains the font

XmlTextWriter w

XmlTextWriter

Returns
Type Description
bool

true if successful; otherwise, false

SerializeFontValue(object, XmlTextWriter, bool)

Serializes font information to XML with the specified writer and short XML name option without writing element tags.

Declaration
public static bool SerializeFontValue(object o, XmlTextWriter w, bool shortXmlName)
Public Shared Function SerializeFontValue(o As Object, w As XmlTextWriter, shortXmlName As Boolean) As Boolean
Parameters
Type Name Description
object o

FontInfo object that contains the font information

XmlTextWriter w

XmlTextWriter

bool shortXmlName

Whether to use the short XML name

Returns
Type Description
bool