Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditDocumentServerExtensions.SaveDocumentAsync Method

Name Parameters Description
SaveDocumentAsync(RichEditDocumentServer, DocumentFormat, EncryptionSettings, CancellationToken) static self, documentFormat, encryptionSettings, cancellationToken Asynchronously saves the document to a byte array in the specified format and encrypts it with a password.
SaveDocumentAsync(RichEditDocumentServer, DocumentFormat, EncryptionSettings) static self, documentFormat, encryptionSettings Asynchronously saves the document to a byte array in the specified format and encrypts it with a password.
SaveDocumentAsync(RichEditDocumentServer, DocumentFormat, CancellationToken) static self, documentFormat, cancellationToken Asynchronously saves the document to a byte array in the specified file format.
SaveDocumentAsync(RichEditDocumentServer, DocumentFormat) static self, documentFormat Asynchronously saves the document to a byte array in the specified file format.
SaveDocumentAsync(RichEditDocumentServer, Stream, DocumentFormat, EncryptionSettings, CancellationToken) static self, stream, documentFormat, encryptionSettings, cancellationToken Asynchronously saves the document to a stream with the specified document format and encryption options.
SaveDocumentAsync(RichEditDocumentServer, Stream, DocumentFormat, EncryptionSettings) static self, stream, documentFormat, encryptionSettings Asynchronously saves the document to a stream with the specified document format and encryption options.
SaveDocumentAsync(RichEditDocumentServer, Stream, DocumentFormat, CancellationToken) static self, stream, documentFormat, cancellationToken Asynchronously saves the document to a stream with the specified document format.
SaveDocumentAsync(RichEditDocumentServer, Stream, DocumentFormat) static self, stream, documentFormat Asynchronously saves the document to a stream with the specified document format.
SaveDocumentAsync(RichEditDocumentServer, String, DocumentFormat, EncryptionSettings, CancellationToken) static self, fileName, documentFormat, encryptionSettings, cancellationToken Asynchronously saves the document to a file, with the specified document format and encryption options.
SaveDocumentAsync(RichEditDocumentServer, String, DocumentFormat, EncryptionSettings) static self, fileName, documentFormat, encryptionSettings Asynchronously saves the document to a file with the specified document format and encryption options.
SaveDocumentAsync(RichEditDocumentServer, String, DocumentFormat, CancellationToken) static self, fileName, documentFormat, cancellationToken Asynchronously saves the document to a stream with the specified document format.
SaveDocumentAsync(RichEditDocumentServer, String, DocumentFormat) static self, fileName, documentFormat Asynchronously saves the document to a stream with the specified document format.