[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Model.SpreadSerializer.OpenXml

OpenXml Method

OpenXml(FpSpread, string)

Loads the specified XML data (for an entire Spread component) from a file into a Spread component.

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

Spread component into which to load the XML data

string fileName

Path and name of the file from which to load the XML data

Returns
Type Description
bool

OpenXml(FpSpread, Stream)

Loads the specified XML data (for an entire Spread component) from a stream into a Spread component.

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

Spread component into which to load the XML data

Stream stream

Stream from which to load the XML data

Returns
Type Description
bool