Table of Contents

Method Save

Namespace
DocWright.Formats.Xlsx
Assembly
DocWright.Formats.Xlsx.dll

Save(Stream, XlsxWriteSettings?)

Writes the workbook to a stream.

public void Save(Stream output, XlsxWriteSettings? settings = null)

Parameters

output Stream

The stream to write to. It is left open.

settings XlsxWriteSettings

The options, or null for the defaults.

Exceptions

ArgumentNullException

output is null.

ResourceLimitExceededException

The package exceeds MaxOutputBytes, or is larger than this writer produces (it writes no ZIP64: 65,535 entries, 2 GiB).