RtfExportOptions.ExportMode Property
Gets or sets a value indicating how a document is exported to RTF.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
[DefaultValue(RtfExportMode.SingleFilePageByPage)]
public RtfExportMode ExportMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Rtf |
Single |
An Rtf |
Available values:
Name | Description |
---|---|
Single |
A document is exported to a single file. Note that in this mode, page headers and footers are added to the resulting RTF file only once, at the beginning and at the end of the document. |
Single |
A document is exported to a single file, page-by-page. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Export |
---|---|
Export |
|
#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 Rtf
When the RtfExportMode.SingleFilePageByPage mode is specified, the two additional options become available: the FormattedTextExportOptions.ExportWatermarks and FormattedTextExportOptions.PageRange properties.