Spread WPF Documentation
Open(Stream,Int32,String) Method


GrapeCity.Excel Namespace > ExcelWorkbook Class > Open Method : Open(Stream,Int32,String) Method
The stream to be opened
the index of the Worksheet which will be opened. if the value is -1, it will open all sheets
The password used to decrypt the stream
Open the specified stream.
Syntax
'Declaration
 
Public Overloads Sub Open( _
   ByVal inStream As System.IO.Stream, _
   Optional ByVal sheetIndex As System.Integer, _
   Optional ByVal password As System.String _
) 
'Usage
 
Dim instance As ExcelWorkbook
Dim inStream As System.IO.Stream
Dim sheetIndex As System.Integer
Dim password As System.String
 
instance.Open(inStream, sheetIndex, password)
public void Open( 
   System.IO.Stream inStream,
   System.int sheetIndex,
   System.string password
)

Parameters

inStream
The stream to be opened
sheetIndex
the index of the Worksheet which will be opened. if the value is -1, it will open all sheets
password
The password used to decrypt the stream
See Also

Reference

ExcelWorkbook Class
ExcelWorkbook Members
Overload List