Saves the contents of the Spread component to XML in the specified file.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As FpSpread
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
true if successful;
false otherwise
Example
This examples saves the data only from the component to the specified Spread XML file.
C# | Copy Code |
---|
string fileName;
fileName = "D:\\mine.xml";
FpSpread1.Save(fileName, true);
|
Visual Basic | Copy Code |
---|
Dim fileName As String
fileName = "D:\mine.xml"
FpSpread1.Save(fileName, True) |
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