Spread for ASP.NET 9.0 Product Documentation
Open(Stream) Method
Example 


Stream from which to load
Opens a saved Spread XML file and loads it into the Spread component from a stream.
Syntax
'Declaration
 
Public Overloads Function Open( _
   ByVal stream As Stream _
) As Boolean
'Usage
 
Dim instance As FpSpread
Dim stream As Stream
Dim value As Boolean
 
value = instance.Open(stream)
public bool Open( 
   Stream stream
)

Parameters

stream
Stream from which to load

Return Value

true if successful; false otherwise
Remarks
This method opens a source of Spread-compatible XML (Extensible Markup Language) from a stream.
Example
string fileName;
fileName = "D:\\mine.xml";
System.IO.Stream stream;
stream = System.IO.File.Open(fileName, System.IO.FileMode.Open);
FpSpread1.Open(stream);
Dim fileName As String
fileName = "D:\mine.xml"
Dim stream As System.IO.Stream
stream = System.IO.File.Open(fileName, System.IO.FileMode.Open)
FpSpread1.Open(stream)
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

FpSpread Class
FpSpread Members
Overload List

User-Task Documentation

Saving to a Spread XML File

 

 


Copyright © GrapeCity, inc. All rights reserved.