Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SaveXMLOptions Enumeration
Example Example

In This Topic
    SaveXMLOptions Enumeration
    In This Topic
    Specifies how to save spreadsheet data to an XML file.
    Public Enum SaveXMLOptions 
       Inherits System.Enum
    Dim instance As SaveXMLOptions
    public enum SaveXMLOptions : System.Enum 
    All Saves all spreadsheet data.
    AllAndStyleMerging Saves everything and converts style information to named styles.
    DataOnly Saves data only.
    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.
    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


    See Also