Share via


PictureFormat.Contrast Property

Returns or sets the contrast for the specified picture or OLE object. The value for this property must be a number from 0.0 (the least contrast) to 1.0 (the greatest contrast).

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.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

See Also

Reference

PictureFormat Interface

PictureFormat Members

Microsoft.Office.Interop.Excel Namespace