GrapeCity.Xaml.Excel
Open Method (ExcelOperator)


The input stream.
The index of loading ExcelWorksheet. If it's -1, means load all sheets.
The password to open the workbook The default password is a null reference (Nothing in Visual Basic).
Open an Excel document from System.IO.Stream and load the worksheet which indicated by sheetIndex with password.
Syntax
'Declaration
 
Public Sub Open( _
   ByVal inStream As Stream, _
   Optional ByVal sheetIndex As Integer, _
   Optional ByVal password As String _
) 
'Usage
 
Dim instance As ExcelOperator
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 input stream.
sheetIndex
The index of loading ExcelWorksheet. If it's -1, means load all sheets.
password
The password to open the workbook The default password is a null reference (Nothing in Visual Basic).
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

ExcelOperator Class
ExcelOperator Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options