XlsExportOptions.WorkbookColorPaletteCompliance Property
Specifies the color palette compatibility mode with different workbooks versions.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v18.2.Core.dll
Declaration
[DefaultValue(WorkbookColorPaletteCompliance.ReducePaletteForExactColors)]
[XtraSerializableProperty]
public WorkbookColorPaletteCompliance WorkbookColorPaletteCompliance { get; set; }
<DefaultValue(WorkbookColorPaletteCompliance.ReducePaletteForExactColors)>
<XtraSerializableProperty>
Public Property WorkbookColorPaletteCompliance As WorkbookColorPaletteCompliance
Property Value
Type | Default | Description |
---|---|---|
WorkbookColorPaletteCompliance | ReducePaletteForExactColors |
A WorkbookColorPaletteCompliance enumeration value. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to WorkbookColorPaletteCompliance |
---|---|---|
Cross-Platform Class Library | RemotePrintingSystem |
|
ExportOptions |
|
|
PrintingSystemBase |
|
|
WinForms Controls | PrintingSystem |
|
XtraSchedulerReport |
|
|
WPF Controls | ExportOptionsContainer |
|
PrintingSystem |
|
|
PrintingSystem |
|
|
Reporting | XtraReport |
|
DocumentOperationRequest |
|
Remarks
The workbook palette can store no more than 56 colors. To make a color palette compatible with different workbooks versions, select one of the following.
WorkbookColorPaletteCompliance.AdjustColorsToDefaultPalette
Degrade the color values to match the 56 standard colors of the default workbook palette.
WorkbookColorPaletteCompliance.ReducePaletteForExactColors
Keep the original color values, but include only the first 56 colors into the palette.