SaveToExcelFile
内容
[
隐藏
]SaveToExcelFile(string)
将工作表保存到 Excel 2003 格式的 excel 文件中。
public void SaveToExcelFile(string targetFile)
| 范围 | 类型 | 描述 | 
|---|---|---|
| targetFile | String | 要写入的目标文件的名称。 | 
也可以看看
- class MainWeb
- 命名空间 Aspose.Cells.GridWeb
- 部件 Aspose.Cells.GridWeb
SaveToExcelFile(Stream)
将工作表保存到 excel 文件中。
public void SaveToExcelFile(Stream stream)
| 范围 | 描述 | 
|---|---|
| stream | 要写入的流。 | 
| format | 文件格式(Excel2003、Excel2007、CSV、SpreadsheetML) | 
也可以看看
- class MainWeb
- 命名空间 Aspose.Cells.GridWeb
- 部件 Aspose.Cells.GridWeb
SaveToExcelFile(Stream, GridSaveFormat)
将工作表保存到 excel 文件中。
public void SaveToExcelFile(Stream stream, GridSaveFormat format)
| 范围 | 类型 | 描述 | 
|---|---|---|
| stream | Stream | 要写入的流。 | 
| format | GridSaveFormat | 文件格式(Excel2003、Excel2007、CSV、SpreadsheetML) | 
也可以看看
- enum GridSaveFormat
- class MainWeb
- 命名空间 Aspose.Cells.GridWeb
- 部件 Aspose.Cells.GridWeb
SaveToExcelFile(Stream, GridSaveOptions)
将工作表保存到 excel 文件中。
public void SaveToExcelFile(Stream stream, GridSaveOptions saveOptions)
| 范围 | 类型 | 描述 | 
|---|---|---|
| stream | Stream | 要写入的流。 | 
| saveOptions | GridSaveOptions | 保存选项。 | 
也可以看看
- class GridSaveOptions
- class MainWeb
- 命名空间 Aspose.Cells.GridWeb
- 部件 Aspose.Cells.GridWeb
SaveToExcelFile(string, GridSaveFormat)
将工作表保存到 excel 文件中。
public void SaveToExcelFile(string targetFile, GridSaveFormat format)
| 范围 | 类型 | 描述 | 
|---|---|---|
| targetFile | String | 要写入的目标文件的名称。 | 
| format | GridSaveFormat | 文件格式(Excel2003、Excel2007、CSV、SpreadsheetML) | 
也可以看看
- enum GridSaveFormat
- class MainWeb
- 命名空间 Aspose.Cells.GridWeb
- 部件 Aspose.Cells.GridWeb
SaveToExcelFile(string, GridSaveOptions)
将工作表保存到 excel 文件中。
public void SaveToExcelFile(string targetFile, GridSaveOptions saveOptions)
| 范围 | 类型 | 描述 | 
|---|---|---|
| targetFile | String | 要写入的目标文件的名称。 | 
| saveOptions | GridSaveOptions | 保存选项。 | 
也可以看看
- class GridSaveOptions
- class MainWeb
- 命名空间 Aspose.Cells.GridWeb
- 部件 Aspose.Cells.GridWeb