RichEditControl.SaveDocument Method

Name Parameters Description
SaveDocument() none Saves a document in its original format to its original location.
SaveDocument(Stream, DocumentFormat) stream, documentFormat Saves the control's document to a file and specifies the document's format.
SaveDocument(Stream, DocumentFormat, EncryptionSettings) stream, documentFormat, encryptionSettings Saves the document to a file, specifying the document's format and encryption settings.
SaveDocument(String, DocumentFormat) fileName, documentFormat Saves the control's document to a file and specifies the document's format.
SaveDocument(String, DocumentFormat, EncryptionSettings) fileName, documentFormat, encryptionSettings Saves the document to a file, specifying the document's format and encryption settings.
SaveDocument(IWin32Window) parent Saves a document in its original format to its original location. If original format and location are not specified, invokes the Save As dialog that is shown modally as a child of the specified parent window.