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

RichEditDocumentServer.SaveDocument Method

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