Table of contents
TOC
折叠目录
展开目录

ColorFormat.Brightness 属性 (PowerPoint)ColorFormat.Brightness Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回或设置从指定的图片或 OLE 对象的亮度。此属性的值必须是介于 0.0 (最暗) 到 1.0 (最亮)。读/写单个Returns or sets the brightness of the specified picture or OLE object. The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest). Read/write Single.

语法Syntax

表达式亮度expression. Brightness

表达式_一个表示ColorFormat对象的变量。_expression A variable that represents a ColorFormat object.

示例Example

以下示例设置第一个形状的亮度myDocument。第一个形状必须是图片或 OLE 对象。The following example sets the brightness for shape one on myDocument. Shape one must be either a picture or an OLE object.

Set myDocument = Worksheets(1)

myDocument.Shapes(1).PictureFormat.Brightness = 0.3

另请参阅See also

概念Concepts

ColorFormat 对象ColorFormat Object

© 2018 Microsoft