主题
ContourColor (属性)
返回 ThreeDFormat 对象的轮廓线颜色。只读 ColorFormat 类型。
示例
python
#此示例将第一张工作表的第一个形状三维轮廓线颜色设置为红色
def test():
shape = Worksheets.Item(1).Shapes.Item(1)
shape.ThreeD.ContourColor.RGB = RGB(255, 0, 0)
python
#本示例显示活动工作表中第二个形状三维轮廓线颜色的亮度
def test():
shape = ActiveSheet.Shapes.Item(2)
print(shape.ThreeD.ContourColor.Brightness)