A newer version of this page is available. Switch to the current version.

RtfExportOptions.ExportMode Property

Gets or sets a value indicating how a document is exported to RTF.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

[DefaultValue(RtfExportMode.SingleFilePageByPage)]
[XtraSerializableProperty]
public RtfExportMode ExportMode { get; set; }
<DefaultValue(RtfExportMode.SingleFilePageByPage)>
<XtraSerializableProperty>
Public Property ExportMode As RtfExportMode

Property Value

Type Default Description
RtfExportMode

SingleFilePageByPage

An RtfExportMode enumeration value which represents the RTF export mode.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ExportMode
Cross-Platform Class Library RemotePrintingSystem
.ExportOptions.Rtf.ExportMode
ExportOptions
.Rtf.ExportMode
PrintingSystemBase
.ExportOptions.Rtf.ExportMode
WinForms Controls PrintingSystem
.ExportOptions.Rtf.ExportMode
XtraSchedulerReport
.ExportOptions.Rtf.ExportMode
WPF Controls ExportOptionsContainer
.Rtf.ExportMode
PrintingSystem
.ExportOptions.Rtf.ExportMode
PrintingSystem
.ExportOptions.Rtf.ExportMode
Reporting XtraReport
.ExportOptions.Rtf.ExportMode
DocumentOperationRequest
.ExportOptions.Rtf.ExportMode

Remarks

The values listed in the RtfExportMode enumeration specify the way in which a document is exported to RTF. In particular, it can be exported to a single file entirely (with a single page header at the beginning, and a single page footer at the end), or page-by-page (with page headers and footers being printed on each page).

NOTE

When the RtfExportMode.SingleFile mode is specified, tables residing in your report persist. Otherwise, they're treated as frames, and you may encounter difficulties, for example, in moving the tables from the text processor to an XLS file.

When the RtfExportMode.SingleFilePageByPage mode is specified, the two additional options become available: the FormattedTextExportOptions.ExportWatermarks and FormattedTextExportOptions.PageRange properties.

See Also