All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

Workbook.SaveDocumentAsync Method

Name Parameters Description
SaveDocumentAsync(DocumentFormat) format Asynchronously saves the document to a byte array 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.
SaveDocumentAsync(DocumentFormat, EncryptionSettings) format, encryptionSettings Asynchronously 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.
SaveDocumentAsync(DocumentFormat, EncryptionSettings, CancellationToken) format, encryptionSettings, cancellationToken Asynchronously 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.
SaveDocumentAsync(DocumentFormat, CancellationToken) format, cancellationToken Asynchronously saves the document to an array of bytes 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.
SaveDocumentAsync(Stream, DocumentFormat) stream, format Asynchronously saves the document to a stream 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.
SaveDocumentAsync(Stream, DocumentFormat, EncryptionSettings) stream, format, encryptionSettings Asynchronously saves the document to a stream in the specified document 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.
SaveDocumentAsync(Stream, DocumentFormat, EncryptionSettings, CancellationToken) stream, format, encryptionSettings, cancellationToken Asynchronously saves the document to a stream in the specified document 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.
SaveDocumentAsync(Stream, DocumentFormat, CancellationToken) stream, format, cancellationToken Asynchronously saves the document to a stream 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.
SaveDocumentAsync(String) fileName Asynchronously 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.
SaveDocumentAsync(String, DocumentFormat) fileName, format Asynchronously 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.
SaveDocumentAsync(String, DocumentFormat, EncryptionSettings) fileName, format, encryptionSettings Asynchronously saves the document to a file in the specified document 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.
SaveDocumentAsync(String, DocumentFormat, EncryptionSettings, CancellationToken) fileName, format, encryptionSettings, cancellationToken Asynchronously 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.
SaveDocumentAsync(String, DocumentFormat, CancellationToken) fileName, format, cancellationToken Asynchronously 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.
SaveDocumentAsync(String, EncryptionSettings) fileName, encryptionSettings Asynchronously saves the document to a file 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.
SaveDocumentAsync(String, EncryptionSettings, CancellationToken) fileName, encryptionSettings, cancellationToken Asynchronously 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.
SaveDocumentAsync(String, CancellationToken) fileName, cancellationToken Asynchronously saves the document to a file. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.