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


The file stream.
The flag used to open the file.
The file password.
The index of the sheet in Excel 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, _
   ByVal sheetIndex As System.Integer _
) 
'Usage
 
Dim instance As GcSpreadSheet
Dim stream As System.IO.Stream
Dim openFlags As ExcelOpenFlags
Dim password As System.String
Dim sheetIndex As System.Integer
 
instance.OpenExcel(stream, openFlags, password, sheetIndex)
public void OpenExcel( 
   System.IO.Stream stream,
   ExcelOpenFlags openFlags,
   System.string password,
   System.int sheetIndex
)

Parameters

stream
The file stream.
openFlags
The flag used to open the file.
password
The file password.
sheetIndex
The index of the sheet in Excel file.
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

GcSpreadSheet Class
GcSpreadSheet Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.