RtfFormatProvider allows for import of RTF documents and respectively export of RadFlowDocument to RTF. Additionally, the import/export settings provide modification options. The current article outlines the available settings.
The export settings which you can specify are as follows:
Specifies if the images should be exported in compatibility mode. This option is convenient when the exported document is going to be consumed by older RTF readers.
The default value for this setting is false.
The code from Example 1 demonstrates how you can create and specify particular export settings to RtfFormatProvider.
Example 1: Create a RtfExportSettings
RtfFormatProvider provider = new RtfFormatProvider(); RtfExportSettings exportSettings = new RtfExportSettings(); exportSettings.ExportImagesInCompatibilityMode = true; provider.ExportSettings = exportSettings;