[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Workbook.Open

Open Method

Open(string, string, OpenOptions)

Opens the specified excel file

Declaration
[Obsolete]
public 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.

Implements

Open(string)

Opens the file with default options. The file type is inferred from file extension.

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

The specified file.

Implements

Open(string, DeserializationOptions)

Opens the json file.

Declaration
public 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

Implements

Open(Stream, string, OpenOptions)

Opens the specified excel file stream.

Declaration
[Obsolete]
public 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.

Implements

Open(string, OpenFileFormat)

Opens the file with specified file format.

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

The specified file.

OpenFileFormat fileFormat

The format of the file.

Implements

Open(Stream, OpenFileFormat)

Opens the stream with specified file format.

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

The specified file stream.

OpenFileFormat fileFormat

The format of the file stream.

Implements

Open(Stream)

Opens the file stream.

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

The specified file stream.

Implements

Open(string, OpenOptionsBase)

Opens the file with specified options.

Declaration
public 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:

Implements

Open(Stream, OpenOptionsBase)

Opens the stream with specified options.

Declaration
public 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:

Implements