Spread WPF 17
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


In This Topic
    Open(Stream,Int32,String) Method
    In This Topic
    Open the specified stream.
    Syntax
    'Declaration
     
    Public Overloads 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