PictureFormat.Brightness property (Publisher)

Returns or sets a Single indicating 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.

Syntax

expression.Brightness

expression A variable that represents a PictureFormat object.

Return value

Single

Remarks

Use the IncrementBrightness method to incrementally adjust the brightness from its current level.

Example

This example sets the brightness for the first shape in the active publication. The shape must be either a picture or an OLE object.

ActiveDocument.Pages(1).Shapes(1).PictureFormat _ 
 .Brightness = 0.3

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.