Skip to main content

RtfDocumentExporterOptions.ExportTheme Property

Gets or sets whether the color theme information is included in the exported RTF file.

Namespace: DevExpress.XtraRichEdit.Export

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
public bool ExportTheme { get; set; }

Property Value

Type Default Description
Boolean true

True to include color theme information in RTF; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ExportTheme
RichEditDocumentExportOptions
.Rtf .ExportTheme

Remarks

The ExportTheme allows you to exclude color theme information from the file exported in RTF to save space.

When the ExportTheme is set to true, the themedata and colorschememapping destinations are written to the exported file. Theme Data contains color styles for the document objects, Color Scheme Mapping links multiple Theme colors.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExportTheme property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also