Edit this page
Available for: UI for ASP.NET AJAX | UI for ASP.NET MVC | UI for WPF | UI for WinForms

Settings

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.

Export Settings

The export settings which you can specify are as follows:

ExportImagesInCompatibilityMode

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.

[C#] Example 1: Create a RtfExportSettings

RtfFormatProvider provider = new RtfFormatProvider();
RtfExportSettings exportSettings = new RtfExportSettings();
exportSettings.ExportImagesInCompatibilityMode = true;
provider.ExportSettings = exportSettings;