FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > SpreadSerializer Class > SaveXml Method : SaveXml(FpSpread,Stream,SaveXMLOptions) Method |
'Declaration Public Overloads Shared Function SaveXml( _ ByVal spread As FpSpread, _ ByVal stream As Stream, _ ByVal saveOption As SaveXMLOptions _ ) As Boolean
'Usage Dim spread As FpSpread Dim stream As Stream Dim saveOption As SaveXMLOptions Dim value As Boolean value = SpreadSerializer.SaveXml(spread, stream, saveOption)
public static bool SaveXml( FpSpread spread, Stream stream, SaveXMLOptions saveOption )
System.IO.Stream stream;
stream = System.IO.File.Create("C:\\SpreadFiles\\file01.xml");
FarPoint.Win.Spread.Model.SpreadSerializer.SaveXml(fpSpread1, stream, FarPoint.Win.Spread.SaveXMLOptions.All);
Dim stream As System.IO.Stream stream = System.IO.File.Create("C:\SpreadFiles\file01.xml") FarPoint.Win.Spread.Model.SpreadSerializer.SaveXml(FpSpread1, stream, FarPoint.Win.Spread.SaveXMLOptions.All)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8