主题
BevelTopDepth (属性)
返回或设置对 ThreeDFormat 对象使用棱台效果时的台顶深度。可读/写 Single 类型。
示例
python
#此示例对第一张工作表的第一个形状使用棱台效果时的台顶深度设置为20磅
def test():
shape = Worksheets.Item(1).Shapes.Item(1)
shape.ThreeD.Visible = msoTrue
shape.ThreeD.BevelTopDepth = 20
python
#本示例显示活动工作表中第二个形状使用棱台效果时的台顶深度
def test():
shape = ActiveSheet.Shapes.Item(2)
print(shape.ThreeD.BevelTopDepth)