Spread for ASP.NET 7.0 Product Documentation
SerializeFont(FontInfo,String,XmlTextWriter,Boolean) Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > Serializer Class > SerializeFont Method : SerializeFont(FontInfo,String,XmlTextWriter,Boolean) Method


font
FontInfo object that contains the font information
elementName
Name of XML element
w
XmlTextWriter
shortXmlName
Whether to use the short XML name

Glossary Item Box

Serializes font information into XML with the specified writer.

Syntax

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 that contains the font information
elementName
Name of XML element
w
XmlTextWriter
shortXmlName
Whether to use the short XML name

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.