Spread Windows Forms 11.0 Product Documentation
SaveXMLOptions Enumeration
Example Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : SaveXMLOptions Enumeration
Specifies how to save spreadsheet data to an XML file.
Syntax
'Declaration
 
Public Enum SaveXMLOptions 
   Inherits System.Enum
'Usage
 
Dim instance As SaveXMLOptions
public enum SaveXMLOptions : System.Enum 
Members
MemberDescription
AllSaves all spreadsheet data.
AllAndStyleMergingSaves everything and converts style information to named styles.
DataOnlySaves data only.
Remarks
If the control has many duplicate style settings, then you may wish to use the AllAndStyleMerging option in the SaveXMLOptions enumeration when saving to an XML file. This decreases the file size and improves performance.
Example
This example saves to an XML file.
fpSpread1.Sheets[0].Cells[2, 2].Value = 50;
fpSpread1.Save("c:\\test.xml", FarPoint.Win.Spread.SaveXMLOptions.All);
FpSpread1.Sheets(0).Cells(2, 2).Value = 50
FpSpread1.Save("c:\test.xml", FarPoint.Win.Spread.SaveXMLOptions.All)
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.SaveXMLOptions

See Also

Reference

FarPoint.Win.Spread Namespace