Skip to content
本页内容

ThreeD (属性)

返回一个 ThreeDFormat 对象,该对象包含指定图表的三维效果格式属性。只读。

示例

python
#此示例显示图表工作表 Chart1 图表区的底部凹凸效果类型是否为 Angle 凹凸效果
def test():
    chartformat = Application.Charts.Item("Chart1").ChartObjects(1).Chart.ChartArea.Format
    print(chartformat.ThreeD.BevelBottomType == msoBevelAngle)
python
#此示例设置工作表 Sheet1 第一个内嵌图表区延伸表面为线框材料
def test():
    chartformat = Application.Worksheets.Item("Sheet1").ChartObjects(1).Chart.ChartArea.Format
    chartformat.ThreeD.PresetMaterial = msoMaterialWireFrame