Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

RichEditDocumentServer.SaveDocument Method

Name Parameters Description
SaveDocument(DocumentFormat, EncryptionSettings) documentFormat, encryptionSettings Saves the document to a byte array in the specified file format and encrypts it with a password.
SaveDocument(DocumentFormat) documentFormat Saves the document to a byte array in the specified file format.
SaveDocument(Stream, DocumentFormat, EncryptionSettings) stream, documentFormat, encryptionSettings Saves the document to a stream, specifying the document’s format and encryption options.
SaveDocument(Stream, DocumentFormat) stream, documentFormat Saves the document to a stream, specifying the document’s format.
SaveDocument(String, DocumentFormat, EncryptionSettings) fileName, documentFormat, encryptionSettings Saves the document to a file, specifying the document’s format and encryption options.
SaveDocument(String, DocumentFormat) fileName, documentFormat Saves the control’s document to a file, specifying the document’s format.