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

Workbook.SaveDocument Method

Name Parameters Description
SaveDocument(DocumentFormat) format Saves a document to a byte array in the specified format. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
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 an active 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 an active 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 an active 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 an active 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 an active 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 an active 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 an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.