Compartilhar via


PictureFormat.IncrementBrightness Method

Changes the brightness of the picture by the specified amount.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub IncrementBrightness ( _
    Increment As Single _
)
'Usage
Dim instance As PictureFormat
Dim Increment As Single

instance.IncrementBrightness(Increment)
void IncrementBrightness(
    float Increment
)

Parameters

  • Increment
    Type: System.Single
    Specifies how much to change the value of the Brightness property for the picture. A positive value makes the picture brighter; a negative value makes the picture darker.

Remarks

Use the Brightness property to set the absolute brightness of the picture.

You cannot adjust the brightness of a picture past the upper or lower limit for the Brightness property. For example, if the Brightness property is initially set to 0.9 and you specify 0.3 for the Increment argument, the resulting brightness level will be 1.0, which is the upper limit for the Brightness property, instead of 1.2.

See Also

Reference

PictureFormat Interface

PictureFormat Members

Microsoft.Office.Interop.PowerPoint Namespace