Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

Workbook.SaveDocument Method

Name Parameters Description
SaveDocument(DocumentFormat, EncryptionSettings) format, encryptionSettings

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

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.

SaveDocument(DocumentFormat) format Saves a document to a byte array in the specified format.
SaveDocument(Stream, DocumentFormat, EncryptionSettings) stream, format, encryptionSettings

Saves the document to a stream in the specified format and with the specified encryption settings.

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.

SaveDocument(Stream, DocumentFormat) stream, format

Saves the document to a stream in the specified format.

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.

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

Saves the document to a file in the specified format and with the specified encryption settings.

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.

SaveDocument(String, DocumentFormat) fileName, format

Saves the document to a file in the specified document format.

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.

SaveDocument(String, EncryptionSettings) fileName, encryptionSettings

Saves the document to a file in the Excel or text format with the specified encryption settings. The file format is identified by the file extension.

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.

SaveDocument(String) fileName

Saves the document to a file in the Excel or text format. The file format is identified by the file extension.

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.