Live SpreadsheetGear API Samples
Workbook Saving Save to Stream or Byte Array
In addition to saving to disk, SpreadsheetGear can also save to a memory stream or byte array using the IWorkbook.SaveToStream(...) and SaveToMemory(...) methods.
Run This Sample
Download File
Download an Excel Open XML Workbook (*.xlsx) file with the results of this sample.