PivotTable.ShowCellBackgroundFromOLAP 属性

定义

如果 Microsoft Excel 发送到服务器的 MDX (多维表达式) 包含BackColor与联机分析处理 (OLAP) 数据集中的单元格相对应的数据区域中每个单元格的属性,则该属性值为 True。 默认值为 False。 读/写 Boolean

public:
 property bool ShowCellBackgroundFromOLAP { bool get(); void set(bool value); };
public bool ShowCellBackgroundFromOLAP { get; set; }
Public Property ShowCellBackgroundFromOLAP As Boolean

属性值

注解

如果 OLAP 数据集返回 BackColor 属性值,则单元格填充颜色将设置为该工作表的 Microsoft Excel 调色板中最近的颜色。 如果用户手动将单元格模式格式应用于单元格,则会替代 OLAP 数据集中的任何格式。

适用于