Spread ASP.NET 6.0 Product Documentation
SerializeFont(FontInfo,String,XmlTextWriter,Boolean) Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > Serializer Class > SerializeFont Method : SerializeFont(FontInfo,String,XmlTextWriter,Boolean) Method


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

Requirements

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

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.