Workbook.Save
Contents
[
Hide
]Save(string, SaveFormat)
Saves the workbook to the disk.
public void Save(string fileName, SaveFormat saveFormat)
Parameter | Type | Description |
---|---|---|
fileName | String | The file name. |
saveFormat | SaveFormat | The save format type. |
See Also
- enum SaveFormat
- class Workbook
- namespace Aspose.Cells
- assembly Aspose.Cells
Save(string)
Save the workbook to the disk.
public void Save(string fileName)
Parameter | Type | Description |
---|---|---|
fileName | String |
See Also
- class Workbook
- namespace Aspose.Cells
- assembly Aspose.Cells
Save(string, SaveOptions)
Saves the workbook to the disk.
public void Save(string fileName, SaveOptions saveOptions)
Parameter | Type | Description |
---|---|---|
fileName | String | The file name. |
saveOptions | SaveOptions | The save options. |
See Also
- class SaveOptions
- class Workbook
- namespace Aspose.Cells
- assembly Aspose.Cells
Save(Stream, SaveFormat)
Saves the workbook to the stream.
public void Save(Stream stream, SaveFormat saveFormat)
Parameter | Type | Description |
---|---|---|
stream | Stream | The file stream. |
saveFormat | SaveFormat | The save file format type. |
See Also
- enum SaveFormat
- class Workbook
- namespace Aspose.Cells
- assembly Aspose.Cells
Save(Stream, SaveOptions)
Saves the workbook to the stream.
public void Save(Stream stream, SaveOptions saveOptions)
Parameter | Type | Description |
---|---|---|
stream | Stream | The file stream. |
saveOptions | SaveOptions | The save options. |
See Also
- class SaveOptions
- class Workbook
- namespace Aspose.Cells
- assembly Aspose.Cells
Save(HttpResponse, string, ContentDisposition, SaveOptions)
Creates the result spreadsheet and transfer it to the client then open it in the browser or MS Workbook.
public void Save(HttpResponse response, string fileName, ContentDisposition contentDisposition,
SaveOptions saveOptions)
Parameter | Type | Description |
---|---|---|
response | HttpResponse | Response object to return the spreadsheet to client. |
fileName | String | The name of created file. |
contentDisposition | ContentDisposition | The content disposition type. |
saveOptions | SaveOptions | The save options. |
See Also
- enum ContentDisposition
- class SaveOptions
- class Workbook
- namespace Aspose.Cells
- assembly Aspose.Cells
Save(HttpResponse, string, ContentDisposition, SaveOptions, bool)
Creates the result spreadsheet and transfer it to the client then open it in the browser or MS Workbook.
public void Save(HttpResponse response, string fileName, ContentDisposition contentDisposition,
SaveOptions saveOptions, bool enableHttpCompression)
Parameter | Type | Description |
---|---|---|
response | HttpResponse | Response object to return the spreadsheet to client. |
fileName | String | The name of created file. |
contentDisposition | ContentDisposition | The content disposition type. |
saveOptions | SaveOptions | The save options. |
enableHttpCompression | Boolean | whether http compression is to be used |
See Also
- enum ContentDisposition
- class SaveOptions
- class Workbook
- namespace Aspose.Cells
- assembly Aspose.Cells