主题
Shadow (属性)
返回或设置一个 bool 值,它确定对象是否有阴影。
示例
python
#本示例显示图表工作表 Chart1 中数值轴上的单位标签是否有阴影
def test():
displayUnitLabel = Application.Charts.Item("Chart1").ChartObjects(1).Chart.Axes(xlValue).DisplayUnitLabel
print(displayUnitLabel.Shadow)
python
#下例将 Sheet1 上的第一个图表数值轴上的单位标签设置成有阴影
def test():
displayUnitLabel = Application.Worksheets.Item("Sheet1").ChartObjects(1).Chart.Axes(xlValue).DisplayUnitLabel
displayUnitLabel.Shadow = True