返回一个
ThreeDFormat
对象,该对象包含指定形状的三维效果格式属性。只读。
语法
表达式.ThreeD
表达式 一个代表 Shape 对象的变量。
返回值
ThreeDFormat
示例
以下示例为应用于 myDocument
中第一个形状的三维效果设置深度、延伸色、延伸方向以及照明方向。
示例代码 |
let myDocument = ActivePresentation.Slides.Item(1)
let mythreed = myDocument.Shapes.Item(1).ThreeD
mythreed.Visible = true
mythreed.Depth = 50
//RGB value for purple
mythreed.ExtrusionColor.RGB = (255, 100, 255)
mythreed.SetExtrusionDirection (msoExtrusionTop)
mythreed.PresetLightingDirection = msoLightingLeft
|