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.
    Syntax
    'Declaration
     
    Public Enum SaveXMLOptions 
       Inherits System.Enum
    'Usage
     
    Dim instance As SaveXMLOptions
    public enum SaveXMLOptions : System.Enum 
    Members
    MemberDescription
    All Saves all spreadsheet data.
    AllAndStyleMerging Saves everything and converts style information to named styles.
    DataOnly Saves 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