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


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 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 ExcelOperator
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 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 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

ExcelOperator Class
ExcelOperator Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.