Skip to main content
All docs
V24.2

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.