返回或设置指定图片或 OLE 对象的亮度。此属性的取值范围为从 0.0(最暗)到 1.0(最亮)。Single 类型,可读写。
本示例设置活动文档中第一个图形的亮度。该图形必须是图片或 OLE 对象。
Dim docActive As Document Set docActive = ActiveDocument docActive.Shapes(1).PictureFormat.Brightness = 0.3
Dim docActive As Document Set docActive = ActiveDocument
docActive.Shapes(1).PictureFormat.Brightness = 0.3