Spread Windows Forms 10.0 Product Documentation
SaveXMLOptions Enumeration
Example Example 


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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

FarPoint.Win.Spread Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.