Spread WPF Documentation
SaveXml(String,Boolean) Method
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > GcSpreadSheet Class > SaveXml Method : SaveXml(String,Boolean) Method
The path and name of the XML file.
Whether to save data only.
Saves the data on the sheet to the specified XML file.
Syntax
'Declaration
 
Public Overloads Sub SaveXml( _
   ByVal fileName As System.String, _
   ByVal dataOnly As System.Boolean _
) 
'Usage
 
Dim instance As GcSpreadSheet
Dim fileName As System.String
Dim dataOnly As System.Boolean
 
instance.SaveXml(fileName, dataOnly)
public void SaveXml( 
   System.string fileName,
   System.bool dataOnly
)

Parameters

fileName
The path and name of the XML file.
dataOnly
Whether to save data only.
Example
This example uses the SaveXml method.
gcSpreadSheet1.OpenXML("c:\\zipfile\\myser.xml");
//gcSpreadSheet1.SaveXml("c:\\zipfile\\mser.xml");
//gcSpreadSheet1.SaveXml("c:\\zipfile\\mser.xml", true);
GcSpreadSheet1.OpenXML("c:\zipfile\myser.xml")
'GcSpreadSheet1.SaveXml("c:\zipfile\mser.xml")
'GcSpreadSheet1.SaveXml("c:\zipfile\mser.xml", True)
See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members
Overload List