officefileapi-devexpress-dot-xtrarichedit-dot-export-01ca0f32.md
Lists conventions used for exporting the background color to RTF format.
Namespace : DevExpress.XtraRichEdit.Export
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
[ComVisible(true)]
[Flags]
public enum RtfRunBackColorExportMode
<Flags>
<ComVisible(True)>
Public Enum RtfRunBackColorExportMode
| Name | Description |
|---|---|
Default |
Exports Highlight and Shading characteristics of the background color separately - as the \highlightN the \chcbpatN tag where N is the fill color, specified as an index into the document’s color table.
|
| Chcbpat |
Exports the background color as the \chcbpatN tag, where N is the fill color, specified as an index into the document’s color table.
|
| Highlight |
Exports the background color as the \highlightN tag where N specifies the color.
|
| Both |
Exports background color using both \chcbpat and \highlight tags (both tags will have the same color value).
|
The following properties accept/return RtfRunBackColorExportMode values:
| Library | Related API Members |
|---|---|
| WPF Controls | DXRichEditRtfDocumentExporterCompatibilityOptions.BackColorExportMode |
| Office File API | RtfDocumentExporterCompatibilityOptions.BackColorExportMode |
The RtfRunBackColorExportMode is used as the value of the RtfDocumentExporterCompatibilityOptions.BackColorExportMode property.
See Also