Partager via


PictureFormat.Contrast Property

Returns or sets the contrast for the specified picture or OLE object.

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

Syntax

'Declaration
Property Contrast As Single
    Get
    Set
'Usage
Dim instance As PictureFormat
Dim value As Single

value = instance.Contrast

instance.Contrast = value
float Contrast { get; set; }

Property Value

Type: System.Single

Remarks

The value for this property must be a number from 0.0 (the least contrast) to 1.0 (the greatest contrast). Read/write.

See Also

Reference

PictureFormat Interface

PictureFormat Members

Microsoft.Office.Interop.PowerPoint Namespace