[]
Opens the specified excel file
[Obsolete]
public void Open(string fileName, string password = null, OpenOptions openOptions = null)
<Obsolete>
Public Sub Open(fileName As String, Optional password As String = Nothing, Optional openOptions As OpenOptions = Nothing)
Type | Name | Description |
---|---|---|
string | fileName | The excel file. |
string | password | The password of the file. |
OpenOptions | openOptions | Options for opening. |
Opens the file with default options. The file type is inferred from file extension.
public void Open(string fileName)
Public Sub Open(fileName As String)
Type | Name | Description |
---|---|---|
string | fileName | The specified file. |
Opens the json file.
public IList<JsonError> Open(string fileName, DeserializationOptions deserializationOptions)
Public Function Open(fileName As String, deserializationOptions As DeserializationOptions) As IList(Of JsonError)
Type | Name | Description |
---|---|---|
string | fileName | The specified json file. |
DeserializationOptions | deserializationOptions | The json deserialization options. |
Opens the specified excel file stream.
[Obsolete]
public void Open(Stream fileStream, string password = null, OpenOptions openOptions = null)
<Obsolete>
Public Sub Open(fileStream As Stream, Optional password As String = Nothing, Optional openOptions As OpenOptions = Nothing)
Type | Name | Description |
---|---|---|
Stream | fileStream | The file stream. |
string | password | The password of the file. |
OpenOptions | openOptions | Options for opening. |
Opens the file with specified file format.
public void Open(string fileName, OpenFileFormat fileFormat)
Public Sub Open(fileName As String, fileFormat As OpenFileFormat)
Type | Name | Description |
---|---|---|
string | fileName | The specified file. |
OpenFileFormat | fileFormat | The format of the file. |
Opens the stream with specified file format.
public void Open(Stream fileStream, OpenFileFormat fileFormat)
Public Sub Open(fileStream As Stream, fileFormat As OpenFileFormat)
Type | Name | Description |
---|---|---|
Stream | fileStream | The specified file stream. |
OpenFileFormat | fileFormat | The format of the file stream. |
Opens the file stream.
public void Open(Stream fileStream)
Public Sub Open(fileStream As Stream)
Type | Name | Description |
---|---|---|
Stream | fileStream | The specified file stream. |
Opens the file with specified options.
public void Open(string fileName, OpenOptionsBase options)
Public Sub Open(fileName As String, options As OpenOptionsBase)
Type | Name | Description |
---|---|---|
string | fileName | The excel file. |
OpenOptionsBase | options | The options of opening the file. Possible types: |
Opens the stream with specified options.
public void Open(Stream fileStream, OpenOptionsBase options)
Public Sub Open(fileStream As Stream, options As OpenOptionsBase)
Type | Name | Description |
---|---|---|
Stream | fileStream | The file stream. |
OpenOptionsBase | options | The format of opening the file stream. Possible types: |