WorkbookSaveToStream Method

Saves Excel file to a MemoryStream object and returns it.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: (21.7)
public MemoryStream SaveToStream()

Return Value

Type: MemoryStream
MemoryStream object which contains an Excel file.
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