主题
Shadow (属性)
返回一个 ShadowFormat 对象,该对象包含图表元素的阴影格式属性。只读。
示例
python
#此示例显示工作表 Sheet1 第一个内嵌图表区的底纹的模糊度
def test():
chartformat = Application.Worksheets.Item("Sheet1").ChartObjects(1).Chart.ChartArea.Format
print(chartformat.Shadow.Blur)
python
#此示例设置图表工作表 Chart1 图表区的阴影类型
def test():
chartformat = Application.Charts.Item("Chart1").ChartObjects(1).Chart.ChartArea.Format
chartformat.Shadow.Type = msoShadow8