Method Save
Save(Stream, XlsxWriteSettings?)
Writes the workbook to a stream.
public void Save(Stream output, XlsxWriteSettings? settings = null)
Parameters
outputStreamThe stream to write to. It is left open.
settingsXlsxWriteSettingsThe options, or null for the defaults.
Exceptions
- ArgumentNullException
outputis null.- ResourceLimitExceededException
The package exceeds MaxOutputBytes, or is larger than this writer produces (it writes no ZIP64: 65,535 entries, 2 GiB).