[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorkbook.Open

Open Method

Open(string)

Opens the file.

Declaration
void Open(string fileName)
Parameters
Type Name Description
string fileName

The specified file.

Open(string, DeserializationOptions)

Opens the JSON file.

Declaration
IList<JsonError> Open(string fileName, DeserializationOptions deserializationOptions)
Parameters
Type Name Description
string fileName

The specified JSON file.

DeserializationOptions deserializationOptions

The JSON deserialization options.

Returns
Type Description
IList<JsonError>

The error list of the JSON.

Open(string, string, OpenOptions)

Opens the specified excel file.

Declaration
void Open(string fileName, string password = null, OpenOptions openOptions = null)
Parameters
Type Name Description
string fileName

The excel file.

string password

The password of the file.

OpenOptions openOptions

Options for opening.

Remarks

This method is now obsolete.

Open(Stream)

Opens the file stream.

Declaration
void Open(Stream fileStream)
Parameters
Type Name Description
Stream fileStream

The specified file stream.

Open(Stream, string, OpenOptions)

Opens the specified excel file stream.

Declaration
void Open(Stream fileStream, string password = null, OpenOptions openOptions = null)
Parameters
Type Name Description
Stream fileStream

The file stream.

string password

The password of the file.

OpenOptions openOptions

Options for opening.

Remarks

This method is now obsolete.

Open(string, OpenFileFormat)

Opens the specified format file.

Declaration
void Open(string fileName, OpenFileFormat fileFormat)
Parameters
Type Name Description
string fileName

The specified file.

OpenFileFormat fileFormat

The format of the file.

Open(Stream, OpenFileFormat)

Opens the specified format file stream.

Declaration
void Open(Stream fileStream, OpenFileFormat fileFormat)
Parameters
Type Name Description
Stream fileStream

The specified file stream.

OpenFileFormat fileFormat

The format of the file stream.

Open(string, OpenOptionsBase)

Opens the file with specified options.

Declaration
void Open(string fileName, OpenOptionsBase options)
Parameters
Type Name Description
string fileName

The excel file.

OpenOptionsBase options

The options of opening the file. Possible types:

Open(Stream, OpenOptionsBase)

Opens the stream with specified options.

Declaration
void Open(Stream fileStream, OpenOptionsBase options)
Parameters
Type Name Description
Stream fileStream

The file stream.

OpenOptionsBase options

The format of opening the file stream. Possible types: