FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class > Save Method : Save(Stream,SaveXMLOptions) Method |
'Declaration Public Overloads Function Save( _ ByVal stream As Stream, _ ByVal saveOption As SaveXMLOptions _ ) As Boolean
'Usage Dim instance As FpSpread Dim stream As Stream Dim saveOption As SaveXMLOptions Dim value As Boolean value = instance.Save(stream, saveOption)
public bool Save( Stream stream, SaveXMLOptions saveOption )
string fileName; fileName = ""..\\..\\bin\\savespreadstream.xml"; System.IO.Stream stream; stream = System.IO.File.Create(fileName); fpSpread1.Save(stream, FarPoint.Win.Spread.SaveXMLOptions.All);
Dim fileName As String fileName = "..\bin\savespreadstream.xml" Dim stream As System.IO.Stream stream = System.IO.File.Create(fileName, System.IO.FileMode.Create) fpSpread1.Save(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