Skip to main content
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 need a license for the DevExpress Office File API Subscription 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.

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

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

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

You need a license for the DevExpress Office File API Subscription 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 need a license for the DevExpress Office File API Subscription 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 need a license for the DevExpress Office File API Subscription 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 need a license for the DevExpress Office File API Subscription 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 need a license for the DevExpress Office File API Subscription 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 need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.