WorkbookSaveToStream Method

Saves Excel file to a MemoryStream object and returns it.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public MemoryStream SaveToStream()

Return Value

Type: MemoryStream
MemoryStream object which contains an Excel file.
Remarks
This method provides same function as Save method and only save the workbook as Excel97-2003 xls file. It's mainly for calling from COM clients.
See Also