Spread Windows Forms 12.0 Product Documentation
Open(String,ImportContext) Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IWorkbooks Interface > Open Method : Open(String,ImportContext) Method
The filename of the workbook to open.
An GrapeCity.Spreadsheet.IO.OpenXml.ImportContext object indicates the import context.
Open an existing workbook in a newly created instance of Workbook.
Syntax
'Declaration
 
Overloads Function Open( _
   ByVal filename As String, _
   Optional ByVal context As ImportContext _
) As IWorkbook
'Usage
 
Dim instance As IWorkbooks
Dim filename As String
Dim context As ImportContext
Dim value As IWorkbook
 
value = instance.Open(filename, context)

Parameters

filename
The filename of the workbook to open.
context
An GrapeCity.Spreadsheet.IO.OpenXml.ImportContext object indicates the import context.

Return Value

A Workbook object represents the opened workbook.
See Also

Reference

IWorkbooks Interface
IWorkbooks Members
Overload List