Saves the contents of the sheet to XML in the specified file.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim fileName As String
Dim dataOnly As Boolean
Dim value As Boolean
value = instance.Save(fileName, dataOnly) |
Parameters
- fileName
- Path and file name of file to save
- dataOnly
- Whether to save only data
Return Value
Boolean:
true if successful;
false otherwise
Example
This example shows how to save to a file.
C# | Copy Code |
---|
string FileNameXMLDOSheet = "C:\\XML\\FileXMLDataOnlySheet.xml";
string FileNameXMLSheet = "C:\\XML\\FileXMLSheet.xml";
FpSpread1.ActiveSheetView.Save(FileNameXMLDOSheet, true);
FpSpread1.ActiveSheetView.Save(FileNameXMLSheet, false);
|
Visual Basic | Copy Code |
---|
Dim FileNameXMLDOSheet As String = "C:\XML\FileXMLDataOnlySheet.xml"
Dim FileNameXMLSheet As String = "C:\XML\FileXMLSheet.xml"
FpSpread1.ActiveSheetView.Save(FileNameXMLDOSheet, True)
FpSpread1.ActiveSheetView.Save(FileNameXMLSheet, False) |
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