[]
将当前工作表保存到文件。
void Save(string fileName)
| Type | Name | Description |
|---|---|---|
| string | fileName | 指定的文件名。 |
将当前工作表保存到指定格式的文件。
void Save(string fileName, SaveFileFormat fileFormat)
| Type | Name | Description |
|---|---|---|
| string | fileName | 指定的文件。 |
| SaveFileFormat | fileFormat | 文件的格式。 |
将当前工作表保存到指定格式的文件流。
void Save(Stream fileStream, SaveFileFormat fileFormat)
| Type | Name | Description |
|---|---|---|
| Stream | fileStream | 指定的文件流。 |
| SaveFileFormat | fileFormat | 文件流的格式。 |
将当前工作表保存到指定文件。
void Save(string fileName, SaveOptionsBase options)
| Type | Name | Description |
|---|---|---|
| string | fileName | 指定的文件。 |
| SaveOptionsBase | options | 保存文件的选项。 |
将当前工作表保存到指定的文件流。
void Save(Stream fileStream, SaveOptionsBase options)
| Type | Name | Description |
|---|---|---|
| Stream | fileStream | 指定的文件流。 |
| SaveOptionsBase | options | 保存文件流的选项。 |