[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Model.SpreadSerializer.SaveXml

SaveXml Method

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

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