Spread Silverlight Documentation
OpenExcel(Stream,ExcelOpenFlags,String) Method


The stream that contains an Excel Compound Document File.
The open flags.
The password for the file.
Opens an Excel Compound Document File and loads it into GcSpreadSheet.
Syntax
'Declaration
 
Public Overloads Sub OpenExcel( _
   ByVal stream As System.IO.Stream, _
   ByVal openFlags As ExcelOpenFlags, _
   ByVal password As System.String _
) 
'Usage
 
Dim instance As Workbook
Dim stream As System.IO.Stream
Dim openFlags As ExcelOpenFlags
Dim password As System.String
 
instance.OpenExcel(stream, openFlags, password)
public void OpenExcel( 
   System.IO.Stream stream,
   ExcelOpenFlags openFlags,
   System.string password
)

Parameters

stream
The stream that contains an Excel Compound Document File.
openFlags
The open flags.
password
The password for the file.
Remarks
For performance considerations, this method suspends all events during the file load.
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

Workbook Class
Workbook Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.