[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Model.SpreadSerializer.OpenXml

OpenXml Method

OpenXml(SheetView, Stream)

Loads the specified XML data (for a sheetview) from a stream into a sheetview.

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

The sheet view to load the XML data

Stream stream

Stream from which to load the XML data

Returns
Type Description
bool

true if is successful; false otherwise

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

true if is successful; false otherwise

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

true if is successful; false otherwise