GrapeCity.Xaml.Excel
Open Method (ExcelWorkbook)


GrapeCity.Excel Namespace > ExcelWorkbook Class : Open 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 Sub Open( _
   ByVal inStream As Stream, _
   Optional ByVal sheetIndex As Integer, _
   Optional ByVal password As String _
) 
'Usage
 
Dim instance As ExcelWorkbook
Dim inStream As Stream
Dim sheetIndex As Integer
Dim password As String
 
instance.Open(inStream, sheetIndex, password)
public void Open( 
   Stream inStream,
   int sheetIndex,
   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