Graphic.Contrast Property
Returns or sets the contrast for the specified picture or OLE object.
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 Graphic
Dim value As Single
value = instance.Contrast
instance.Contrast = value
float Contrast { get; set; }
Property Value
Type: System.Single
Remarks
The Contrast property must be a number from 0.0 (the least contrast) to 1.0 (the greatest contrast).