ThreeDFormat.PresetLightingSoftness 属性 (Excel)

返回或设置延伸光源的亮度。 读/写 MsoPresetLightingSoftness

语法

表达式PresetLightingSoftness

表达 一个代表 ThreeDFormat 对象的变量。

示例

本示例将从左侧以“强光”照亮 myDocument 中形状 1 的延伸部分。

Set myDocument = Worksheets(1) 
With myDocument.Shapes(1).ThreeD 
 .Visible = True 
 .PresetLightingSoftness = msoLightingBright 
 .PresetLightingDirection = msoLightingLeft 
End With

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。