RtfCellContentExportOptions.IgnoreDisplayFormat Property
Gets or sets whether to ignore the display format when exporting cell content to RTF.
Namespace: DevExpress.XtraSpreadsheet.Export
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Remarks
When the IgnoreDisplayFormat
property is set to true
, table style and conditional formatting are ignored.
Cell B3 in the image below contains conditional formatting:
The table below compares the resulting RTF string with IgnoreDisplayFormat
set to false
and true
:
Property Value | Resulting RTF String |
---|---|
false (default) |
{\rtf1\deff0{\fonttbl{\f0 Calibri;}}{\colortbl;\red227\green108\blue9;}{\cf1\fs22\b\i\strike cell with conditional formatting}} |
true |
{\rtf1\deff0{\fonttbl{\f0 Calibri;}}{\colortbl;}{\fs22 cell with conditional formatting}} |
See Also