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

Document.SaveDocument Method

Name Parameters Description
SaveDocument(Stream, DocumentFormat, EncryptionSettings) stream, format, encryptionSettings Saves the document to a stream, specifying the document’s format and encryption options.
SaveDocument(Stream, DocumentFormat) stream, format Saves the document to a stream, specifying the document’s format.
SaveDocument(String, DocumentFormat, EncryptionSettings) fileName, format, encryptionSettings Saves the document to a stream, specifying the document’s format and encryption options.
SaveDocument(String, DocumentFormat) fileName, format Saves the document to a file, specifying the document’s format.