Skip to content

DevExpress-Examples/how-to-save-a-document-in-the-richedit-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to: Save a Document in the RichEditControl

This example illustrates how to save a document in the RichEditControl and how to customize this process.

application image

Implementation Specifics

The RichEditControl.BeforeExport event is handled to reduce the size of an RTF file before it is saved. A warning message appears when you click the Save Document to File button. If you click Yes, the RtfDocumentExporterOptions properties are specified to reduce file size.

A custom SaveDocumentAsCommand command is used to customize the list of available formats in the dialog window.

Files to Review

More Examples

Documentation