主题
LightAngle (属性)
返回或设置对 ThreeDFormat 对象设置的延伸灯光的角度。可读/写 Single 类型。
示例
python
#此示例将第一张工作表的第一个形状延伸灯光的角度设置为20度
def test():
shape = Worksheets.Item(1).Shapes.Item(1)
shape.ThreeD.LightAngle = 20
python
#本示例显示活动工作表中第二个形状延伸灯光的角度
def test():
shape = ActiveSheet.Shapes.Item(2)
print(shape.ThreeD.LightAngle)