.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

ISpreadsheetComponent.SaveDocument Method

Name Parameters Description
SaveDocument(DocumentFormat) format

Saves a document to an array of bytes in the specified format.

SaveDocument(DocumentFormat, EncryptionSettings) format, encryptionSettings

Saves a document to an array of bytes in the specified format with the specified encryption settings.

SaveDocument(Stream, DocumentFormat) stream, format

Saves the document to a stream, specifying the document format.

SaveDocument(Stream, DocumentFormat, EncryptionSettings) stream, format, encryptionSettings

Saves the document to a stream, specifying the document format anf encryption options.

SaveDocument(String) fileName

Saves the document to the specified file. The file format is identified by the file extension.

SaveDocument(String, DocumentFormat) fileName, format

Saves the document to a file, specifying the document format.

SaveDocument(String, DocumentFormat, EncryptionSettings) fileName, format, encryptionSettings

Saves the document to a file, specifying the document format and encryption options.

SaveDocument(String, EncryptionSettings) fileName, encryptionSettings

Saves the document to the specified file with the specified encryption options. The file format is identified by the file extension.