[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Model.SpreadSerializer.SaveXml

SaveXml Method

SaveXml(FpSpread, string, SaveXMLOptions)

Saves an entire Spread component to an XML file.

Declaration
public static bool SaveXml(FpSpread spread, string fileName, SaveXMLOptions saveOption)
Public Shared Function SaveXml(spread As FpSpread, fileName As String, saveOption As SaveXMLOptions) As Boolean
Parameters
Type Name Description
FpSpread spread

Spread component to save

string fileName

Path and name of file to which to save the Spread component as XML

SaveXMLOptions saveOption

Whether to save to XML options

Returns
Type Description
bool

true if is successful; false otherwise

SaveXml(FpSpread, string, bool)

Saves an entire Spread component to an XML file.

Declaration
public static bool SaveXml(FpSpread spread, string fileName, bool dataOnly)
Public Shared Function SaveXml(spread As FpSpread, fileName As String, dataOnly As Boolean) As Boolean
Parameters
Type Name Description
FpSpread spread

Spread component to save

string fileName

Path and name of file to which to save the Spread component as XML

bool dataOnly

Whether to save only the data in the Spread component

Returns
Type Description
bool

true if is successful; false otherwise

SaveXml(FpSpread, Stream, bool)

Saves an entire Spread component to an XML stream.

Declaration
public static bool SaveXml(FpSpread spread, Stream stream, bool dataOnly)
Public Shared Function SaveXml(spread As FpSpread, stream As Stream, dataOnly As Boolean) As Boolean
Parameters
Type Name Description
FpSpread spread

Spread component to save

Stream stream

Stream to which to save the Spread component as XML

bool dataOnly

Whether to save only the data in the Spread component

Returns
Type Description
bool

true if is successful; false otherwise

SaveXml(FpSpread, Stream, SaveXMLOptions)

Saves an entire Spread component to an XML stream.

Declaration
public static bool SaveXml(FpSpread spread, Stream stream, SaveXMLOptions saveOption)
Public Shared Function SaveXml(spread As FpSpread, stream As Stream, saveOption As SaveXMLOptions) As Boolean
Parameters
Type Name Description
FpSpread spread

Spread component to save

Stream stream

Stream to which to save the Spread component as XML

SaveXMLOptions saveOption

Whether to save to XML options

Returns
Type Description
bool

true if is successful; false otherwise

SaveXml(SheetView, Stream, SaveXMLOptions)

Saves an entire sheet view to an XML stream.

Declaration
public static bool SaveXml(SheetView sheetView, Stream stream, SaveXMLOptions saveOption)
Public Shared Function SaveXml(sheetView As SheetView, stream As Stream, saveOption As SaveXMLOptions) As Boolean
Parameters
Type Name Description
SheetView sheetView

The sheet view to save

Stream stream

Stream to which to save the sheet view as XML

SaveXMLOptions saveOption

Whether Saving xml options

Returns
Type Description
bool

true if is successful; false otherwise

SaveXml(SheetView, Stream, bool)

Saves an entire sheet view to an XML stream.

Declaration
public static bool SaveXml(SheetView sheetView, Stream stream, bool dataOnly)
Public Shared Function SaveXml(sheetView As SheetView, stream As Stream, dataOnly As Boolean) As Boolean
Parameters
Type Name Description
SheetView sheetView

The sheet view to save

Stream stream

Stream to which to save the sheet view as XML

bool dataOnly

Whether to save only the data in the sheet view

Returns
Type Description
bool

true if is successful; false otherwise