Back to Devexpress

RichEditControl.SaveDocument Method

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-dot-savedocument.md

latest2.4 KB
Original Source

RichEditControl.SaveDocument Method

NameParametersDescription
SaveDocument()noneSaves a document in its original format to its original location.
SaveDocument(DocumentFormat, EncryptionSettings)documentFormat, encryptionSettingsSaves the document to a byte array in the specified file format and encrypts it with a password.
SaveDocument(DocumentFormat)documentFormatSaves the document to a byte array in the specified file format.
SaveDocument(Stream, DocumentFormat, EncryptionSettings)stream, documentFormat, encryptionSettingsSaves the document to a stream, specifying the document’s format and encryption settings.
SaveDocument(Stream, DocumentFormat)stream, documentFormatSaves the control’s document to a file and specifies the document’s format.
SaveDocument(String, DocumentFormat, EncryptionSettings)fileName, documentFormat, encryptionSettingsSaves the document to a file, specifying the document’s format and encryption settings.
SaveDocument(String, DocumentFormat)fileName, documentFormatSaves the control’s document to a file and specifies the document’s format.
SaveDocument(IWin32Window)parentSaves 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.